Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.syscall
  • Platforms: .NET, .NET Standard 2.0, Island

 

Clearenv

 

class method Clearenv: error

 

static error Clearenv()

 

static func Clearenv() -> error

 

func Clearenv() error

 

Shared Function Clearenv() As error

EINVAL

 

class var EINVAL: Errno;

 

static Errno EINVAL

 

static var EINVAL: Errno

 

EINVAL Errno

 

Shared FIELD EINVAL() As Errno

ENOENT

 

class var ENOENT: Errno;

 

static Errno ENOENT

 

static var ENOENT: Errno

 

ENOENT Errno

 

Shared FIELD ENOENT() As Errno

ENOTDIR

 

class var ENOTDIR: Errno;

 

static Errno ENOTDIR

 

static var ENOTDIR: Errno

 

ENOTDIR Errno

 

Shared FIELD ENOTDIR() As Errno

Environ

 

class method Environ: Slice<string>

 

static Slice<string> Environ()

 

static func Environ() -> Slice<string>

 

func Environ() Slice<string>

 

Shared Function Environ() As Slice<string>

Exit

 

class method Exit(i: Int32)

 

static void Exit(Int32 i)

 

static func Exit(_ i: Int32)

 

// .NET, .NET Standard 2.0
func Exit(i Int32) 
// Island
func Exit(i Int32) void

 

Shared Sub Exit(i As Int32)

Parameters:

  • i:

Getegid

 

class method Getegid: Int32

 

static Int32 Getegid()

 

static func Getegid() -> Int32

 

func Getegid() Int32

 

Shared Function Getegid() As Int32

Getenv

 

class method Getenv(sn: String): tuple of (string, Boolean)

 

static (string, Boolean) Getenv(String sn)

 

static func Getenv(_ sn: String) -> (string, Boolean)

 

func Getenv(sn String) tuple of (string, Boolean)

 

Shared Function Getenv(sn As String) As Tuple (Of string, Boolean)

Parameters:

  • sn:

Geteuid

 

class method Geteuid: Int32

 

static Int32 Geteuid()

 

static func Geteuid() -> Int32

 

func Geteuid() Int32

 

Shared Function Geteuid() As Int32

Getgid

 

class method Getgid: Int32

 

static Int32 Getgid()

 

static func Getgid() -> Int32

 

func Getgid() Int32

 

Shared Function Getgid() As Int32

Getgroups

 

class method Getgroups: tuple of (Slice<Int32>, error)

 

static (Slice<Int32>, error) Getgroups()

 

static func Getgroups() -> (Slice<Int32>, error)

 

func Getgroups() tuple of (Slice<Int32>, error)

 

Shared Function Getgroups() As Tuple (Of Slice<Int32>, error)

Getpid

 

class method Getpid: Int32

 

static Int32 Getpid()

 

static func Getpid() -> Int32

 

func Getpid() Int32

 

Shared Function Getpid() As Int32

Getppid

 

class method Getppid: Int32

 

static Int32 Getppid()

 

static func Getppid() -> Int32

 

func Getppid() Int32

 

Shared Function Getppid() As Int32

Getuid

 

class method Getuid: Int32

 

static Int32 Getuid()

 

static func Getuid() -> Int32

 

func Getuid() Int32

 

Shared Function Getuid() As Int32

O_APPEND

 

const O_APPEND: Int32 = 1024;

 

const Int32 O_APPEND = 1024

 

static let O_APPEND: Int32 = 1024

 

const O_APPEND Int32 = 1024

 

Dim O_APPEND As Int32 = 1024

O_ASYNC

 

const O_ASYNC: Int32 = 8192;

 

const Int32 O_ASYNC = 8192

 

static let O_ASYNC: Int32 = 8192

 

const O_ASYNC Int32 = 8192

 

Dim O_ASYNC As Int32 = 8192

O_CLOEXEC

 

const O_CLOEXEC: Int32 = 524288;

 

const Int32 O_CLOEXEC = 524288

 

static let O_CLOEXEC: Int32 = 524288

 

const O_CLOEXEC Int32 = 524288

 

Dim O_CLOEXEC As Int32 = 524288

O_CREAT

 

const O_CREAT: Int32 = 64;

 

const Int32 O_CREAT = 64

 

static let O_CREAT: Int32 = 64

 

const O_CREAT Int32 = 64

 

Dim O_CREAT As Int32 = 64

O_EXCL

 

const O_EXCL: Int32 = 128;

 

const Int32 O_EXCL = 128

 

static let O_EXCL: Int32 = 128

 

const O_EXCL Int32 = 128

 

Dim O_EXCL As Int32 = 128

O_NOCTTY

 

const O_NOCTTY: Int32 = 256;

 

const Int32 O_NOCTTY = 256

 

static let O_NOCTTY: Int32 = 256

 

const O_NOCTTY Int32 = 256

 

Dim O_NOCTTY As Int32 = 256

O_NONBLOCK

 

const O_NONBLOCK: Int32 = 2048;

 

const Int32 O_NONBLOCK = 2048

 

static let O_NONBLOCK: Int32 = 2048

 

const O_NONBLOCK Int32 = 2048

 

Dim O_NONBLOCK As Int32 = 2048

O_RDONLY

 

const O_RDONLY: Int32 = 0;

 

const Int32 O_RDONLY = 0

 

static let O_RDONLY: Int32 = 0

 

const O_RDONLY Int32 = 0

 

Dim O_RDONLY As Int32 = 0

O_RDWR

 

const O_RDWR: Int32 = 2;

 

const Int32 O_RDWR = 2

 

static let O_RDWR: Int32 = 2

 

const O_RDWR Int32 = 2

 

Dim O_RDWR As Int32 = 2

O_SYNC

 

const O_SYNC: Int32 = 4096;

 

const Int32 O_SYNC = 4096

 

static let O_SYNC: Int32 = 4096

 

const O_SYNC Int32 = 4096

 

Dim O_SYNC As Int32 = 4096

O_TRUNC

 

const O_TRUNC: Int32 = 512;

 

const Int32 O_TRUNC = 512

 

static let O_TRUNC: Int32 = 512

 

const O_TRUNC Int32 = 512

 

Dim O_TRUNC As Int32 = 512

O_WRONLY

 

const O_WRONLY: Int32 = 1;

 

const Int32 O_WRONLY = 1

 

static let O_WRONLY: Int32 = 1

 

const O_WRONLY Int32 = 1

 

Dim O_WRONLY As Int32 = 1

Setenv

 

class method Setenv(key: String; value: String): error

 

static error Setenv(String key, String value)

 

static func Setenv(_ key: String, _ value: String) -> error

 

func Setenv(key String, value String) error

 

Shared Function Setenv(key As String, value As String) As error

Parameters:

  • key:
  • value:

Unsetenv

 

class method Unsetenv(s: String): error

 

static error Unsetenv(String s)

 

static func Unsetenv(_ s: String) -> error

 

func Unsetenv(s String) error

 

Shared Function Unsetenv(s As String) As error

Parameters:

  • s:

 

O_APPEND

 

const O_APPEND: Int32 = 1024;

 

const Int32 O_APPEND = 1024

 

static let O_APPEND: Int32 = 1024

 

const O_APPEND Int32 = 1024

 

Dim O_APPEND As Int32 = 1024

O_ASYNC

 

const O_ASYNC: Int32 = 8192;

 

const Int32 O_ASYNC = 8192

 

static let O_ASYNC: Int32 = 8192

 

const O_ASYNC Int32 = 8192

 

Dim O_ASYNC As Int32 = 8192

O_CLOEXEC

 

const O_CLOEXEC: Int32 = 524288;

 

const Int32 O_CLOEXEC = 524288

 

static let O_CLOEXEC: Int32 = 524288

 

const O_CLOEXEC Int32 = 524288

 

Dim O_CLOEXEC As Int32 = 524288

O_CREAT

 

const O_CREAT: Int32 = 64;

 

const Int32 O_CREAT = 64

 

static let O_CREAT: Int32 = 64

 

const O_CREAT Int32 = 64

 

Dim O_CREAT As Int32 = 64

O_EXCL

 

const O_EXCL: Int32 = 128;

 

const Int32 O_EXCL = 128

 

static let O_EXCL: Int32 = 128

 

const O_EXCL Int32 = 128

 

Dim O_EXCL As Int32 = 128

O_NOCTTY

 

const O_NOCTTY: Int32 = 256;

 

const Int32 O_NOCTTY = 256

 

static let O_NOCTTY: Int32 = 256

 

const O_NOCTTY Int32 = 256

 

Dim O_NOCTTY As Int32 = 256

O_NONBLOCK

 

const O_NONBLOCK: Int32 = 2048;

 

const Int32 O_NONBLOCK = 2048

 

static let O_NONBLOCK: Int32 = 2048

 

const O_NONBLOCK Int32 = 2048

 

Dim O_NONBLOCK As Int32 = 2048

O_RDONLY

 

const O_RDONLY: Int32 = 0;

 

const Int32 O_RDONLY = 0

 

static let O_RDONLY: Int32 = 0

 

const O_RDONLY Int32 = 0

 

Dim O_RDONLY As Int32 = 0

O_RDWR

 

const O_RDWR: Int32 = 2;

 

const Int32 O_RDWR = 2

 

static let O_RDWR: Int32 = 2

 

const O_RDWR Int32 = 2

 

Dim O_RDWR As Int32 = 2

O_SYNC

 

const O_SYNC: Int32 = 4096;

 

const Int32 O_SYNC = 4096

 

static let O_SYNC: Int32 = 4096

 

const O_SYNC Int32 = 4096

 

Dim O_SYNC As Int32 = 4096

O_TRUNC

 

const O_TRUNC: Int32 = 512;

 

const Int32 O_TRUNC = 512

 

static let O_TRUNC: Int32 = 512

 

const O_TRUNC Int32 = 512

 

Dim O_TRUNC As Int32 = 512

O_WRONLY

 

const O_WRONLY: Int32 = 1;

 

const Int32 O_WRONLY = 1

 

static let O_WRONLY: Int32 = 1

 

const O_WRONLY Int32 = 1

 

Dim O_WRONLY As Int32 = 1

 

EINVAL

 

class var EINVAL: Errno;

 

static Errno EINVAL

 

static var EINVAL: Errno

 

EINVAL Errno

 

Shared FIELD EINVAL() As Errno

ENOENT

 

class var ENOENT: Errno;

 

static Errno ENOENT

 

static var ENOENT: Errno

 

ENOENT Errno

 

Shared FIELD ENOENT() As Errno

ENOTDIR

 

class var ENOTDIR: Errno;

 

static Errno ENOTDIR

 

static var ENOTDIR: Errno

 

ENOTDIR Errno

 

Shared FIELD ENOTDIR() As Errno

 

Clearenv

 

class method Clearenv: error

 

static error Clearenv()

 

static func Clearenv() -> error

 

func Clearenv() error

 

Shared Function Clearenv() As error

Environ

 

class method Environ: Slice<string>

 

static Slice<string> Environ()

 

static func Environ() -> Slice<string>

 

func Environ() Slice<string>

 

Shared Function Environ() As Slice<string>

Exit

 

class method Exit(i: Int32)

 

static void Exit(Int32 i)

 

static func Exit(_ i: Int32)

 

// .NET, .NET Standard 2.0
func Exit(i Int32) 
// Island
func Exit(i Int32) void

 

Shared Sub Exit(i As Int32)

Parameters:

  • i:

Getegid

 

class method Getegid: Int32

 

static Int32 Getegid()

 

static func Getegid() -> Int32

 

func Getegid() Int32

 

Shared Function Getegid() As Int32

Getenv

 

class method Getenv(sn: String): tuple of (string, Boolean)

 

static (string, Boolean) Getenv(String sn)

 

static func Getenv(_ sn: String) -> (string, Boolean)

 

func Getenv(sn String) tuple of (string, Boolean)

 

Shared Function Getenv(sn As String) As Tuple (Of string, Boolean)

Parameters:

  • sn:

Geteuid

 

class method Geteuid: Int32

 

static Int32 Geteuid()

 

static func Geteuid() -> Int32

 

func Geteuid() Int32

 

Shared Function Geteuid() As Int32

Getgid

 

class method Getgid: Int32

 

static Int32 Getgid()

 

static func Getgid() -> Int32

 

func Getgid() Int32

 

Shared Function Getgid() As Int32

Getgroups

 

class method Getgroups: tuple of (Slice<Int32>, error)

 

static (Slice<Int32>, error) Getgroups()

 

static func Getgroups() -> (Slice<Int32>, error)

 

func Getgroups() tuple of (Slice<Int32>, error)

 

Shared Function Getgroups() As Tuple (Of Slice<Int32>, error)

Getpid

 

class method Getpid: Int32

 

static Int32 Getpid()

 

static func Getpid() -> Int32

 

func Getpid() Int32

 

Shared Function Getpid() As Int32

Getppid

 

class method Getppid: Int32

 

static Int32 Getppid()

 

static func Getppid() -> Int32

 

func Getppid() Int32

 

Shared Function Getppid() As Int32

Getuid

 

class method Getuid: Int32

 

static Int32 Getuid()

 

static func Getuid() -> Int32

 

func Getuid() Int32

 

Shared Function Getuid() As Int32

Setenv

 

class method Setenv(key: String; value: String): error

 

static error Setenv(String key, String value)

 

static func Setenv(_ key: String, _ value: String) -> error

 

func Setenv(key String, value String) error

 

Shared Function Setenv(key As String, value As String) As error

Parameters:

  • key:
  • value:

Unsetenv

 

class method Unsetenv(s: String): error

 

static error Unsetenv(String s)

 

static func Unsetenv(_ s: String) -> error

 

func Unsetenv(s String) error

 

Shared Function Unsetenv(s As String) As error

Parameters:

  • s: