sys

package
v0.14.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

System functions.

Index

Constants

View Source
const (
	EX_OK       = 0
	EX_ERROR    = 1
	EX_USAGE    = 2
	EX_DATAERR  = 3
	EX_NOINPUT  = 4
	EX_NOTEXEC  = 126
	EX_NOTFOUND = 127
)

Variables

This section is empty.

Functions

func Arg added in v0.12.0

func Arg() (p string)

func Args added in v0.12.0

func Args() []string

func Error

func Error(err ...any)

func ExitCall

func ExitCall(name string, args ...string)

func Fatal

func Fatal(err ...any)

func Print

func Print(a ...any)

func StdCall

func StdCall(name string, args ...string) (string, error)

func Stdin

func Stdin() (in string, err error, code int)

func Usage

func Usage(u string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL