os

package
v1.0.19 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2024 License: GPL-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Exports = map[string]interface{}{
	"_name":     "os",
	"_initSafe": _initSafe,
	"args":      os.Args[1:],
	"stdin":     os.Stdin,
	"stderr":    os.Stderr,
	"stdout":    os.Stdout,
	"getenv":    os.Getenv,
	"open":      os.Open,
	"create":    os.Create,
	"exit":      os.Exit,

	"Args":   os.Args[1:],
	"Stdin":  os.Stdin,
	"Stderr": os.Stderr,
	"Stdout": os.Stdout,
	"Getenv": os.Getenv,
	"Open":   os.Open,
	"Create": os.Create,
	"Exit":   os.Exit,
}

Exports is the export table of this module.

View Source
var InlineExports = map[string]interface{}{
	"exit":      exit,
	"_initSafe": _initSafe2,
}

InlineExports is the export table of this module.

Functions

func SafeExit

func SafeExit(code int)

SafeExit is a safe way to quit qlang application.

Types

This section is empty.

Jump to

Keyboard shortcuts

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