Module: stdgo.syscall
Overview
Package syscall contains an interface to the low-level operating system primitives. The details vary depending on the underlying system, and by default, godoc will display the syscall documentation for the current system. If you want godoc to display syscall documentation for another system, set $GOOS and $GOARCH to the desired system. For example, if you want to view documentation for freebsd/arm on linux/amd64, set $GOOS to freebsd and $GOARCH to arm. The primary use of syscall is inside other packages that provide a more portable interface to the system, such as "os", "time" and "net". Use those packages rather than this one if you can. For details of the functions and data types in this package consult the manuals for the appropriate operating system. These calls return err == nil to indicate success; otherwise err is an operating system error describing the failure. On most systems, that error has type syscall.Errno.
Deprecated: this package is locked down. Callers should use the corresponding package in the golang.org/x/sys repository instead. That is also where updates required by new systems or versions should be applied. See https://golang.org/s/go1.4-syscall for more information.
Index
-
function _asanRead(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
-
function _asanWrite(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
-
function _direntIno(_buf:stdgo.Slice<stdgo.GoByte>):{ _1:Bool; _0:stdgo.GoUInt64; }
-
function _direntNamlen(_buf:stdgo.Slice<stdgo.GoByte>):{ _1:Bool; _0:stdgo.GoUInt64; }
-
function _direntReclen(_buf:stdgo.Slice<stdgo.GoByte>):{ _1:Bool; _0:stdgo.GoUInt64; }
-
function _faketimeWrite(_fd:stdgo.GoInt, _p:stdgo.Slice<stdgo.GoByte>):stdgo.GoInt
-
function _fdToFile(_fd:stdgo.GoInt):{ _1:stdgo.Error; _0:stdgo.Ref<stdgo.syscall.T_jsFile>; }
-
function _mapJSError(_jsErr:stdgo.syscall.js.Value):stdgo.Error
-
function _msanRead(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
-
function _msanWrite(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
-
function _readIntBE(_b:stdgo.Slice<stdgo.GoByte>, _size:stdgo.GoUIntptr):stdgo.GoUInt64
-
function _readIntLE(_b:stdgo.Slice<stdgo.GoByte>, _size:stdgo.GoUIntptr):stdgo.GoUInt64
-
function _runtimeSetenv(_k:stdgo.GoString, _v:stdgo.GoString):Void
-
function _setStat(_st:stdgo.Ref<stdgo.syscall.Stat_t>, _jsSt:stdgo.syscall.js.Value):Void
-
function _setTimespec(_sec:stdgo.GoInt64, _nsec:stdgo.GoInt64):stdgo.syscall.Timespec
-
function _setTimeval(_sec:stdgo.GoInt64, _usec:stdgo.GoInt64):stdgo.syscall.Timeval
-
function accept(_fd:stdgo.GoInt):{ _2:stdgo.Error; _1:stdgo.syscall.Sockaddr; _0:stdgo.GoInt; }
-
function bind(_fd:stdgo.GoInt, _sa:stdgo.syscall.Sockaddr):stdgo.Error
-
function bytePtrFromString(_s:stdgo.GoString):{ _1:stdgo.Error; _0:stdgo.Pointer<stdgo.GoByte>; }
-
function byteSliceFromString(_s:stdgo.GoString):{ _1:stdgo.Error; _0:stdgo.Slice<stdgo.GoByte>; }
-
function chmod(_path:stdgo.GoString, _mode:stdgo.GoUInt32):stdgo.Error
-
function chown(_path:stdgo.GoString, _uid:stdgo.GoInt, _gid:stdgo.GoInt):stdgo.Error
-
function connect(_fd:stdgo.GoInt, _sa:stdgo.syscall.Sockaddr):stdgo.Error
-
function dup(_fd:stdgo.GoInt):{ _1:stdgo.Error; _0:stdgo.GoInt; }
-
function dup2(_fd:stdgo.GoInt, _newfd:stdgo.GoInt):stdgo.Error
-
function fchmod(_fd:stdgo.GoInt, _mode:stdgo.GoUInt32):stdgo.Error
-
function fchown(_fd:stdgo.GoInt, _uid:stdgo.GoInt, _gid:stdgo.GoInt):stdgo.Error
-
function fstat(_fd:stdgo.GoInt, _st:stdgo.Ref<stdgo.syscall.Stat_t>):stdgo.Error
-
function ftruncate(_fd:stdgo.GoInt, _length:stdgo.GoInt64):stdgo.Error
-
function getcwd(_buf:stdgo.Slice<stdgo.GoByte>):{ _1:stdgo.Error; _0:stdgo.GoInt; }
-
function getenv(_key:stdgo.GoString):{ _1:Bool; _0:stdgo.GoString; }
-
function getgroups():{ _1:stdgo.Error; _0:stdgo.Slice<stdgo.GoInt>; }
-
function gettimeofday(_tv:stdgo.Ref<stdgo.syscall.Timeval>):stdgo.Error
-
function kill(_pid:stdgo.GoInt, _signum:stdgo.syscall.Signal):stdgo.Error
-
function lchown(_path:stdgo.GoString, _uid:stdgo.GoInt, _gid:stdgo.GoInt):stdgo.Error
-
function link(_path:stdgo.GoString, _link:stdgo.GoString):stdgo.Error
-
function listen(_fd:stdgo.GoInt, _backlog:stdgo.GoInt):stdgo.Error
-
function lstat(_path:stdgo.GoString, _st:stdgo.Ref<stdgo.syscall.Stat_t>):stdgo.Error
-
function mkdir(_path:stdgo.GoString, _perm:stdgo.GoUInt32):stdgo.Error
-
function nsecToTimespec(_nsec:stdgo.GoInt64):stdgo.syscall.Timespec
-
function nsecToTimeval(_nsec:stdgo.GoInt64):stdgo.syscall.Timeval
-
function read(_fd:stdgo.GoInt, _b:stdgo.Slice<stdgo.GoByte>):{ _1:stdgo.Error; _0:stdgo.GoInt; }
-
function rename(_from:stdgo.GoString, _to:stdgo.GoString):stdgo.Error
-
function setNonblock(_fd:stdgo.GoInt, _nonblocking:Bool):stdgo.Error
-
function setReadDeadline(_fd:stdgo.GoInt, _t:stdgo.GoInt64):stdgo.Error
-
function setWriteDeadline(_fd:stdgo.GoInt, _t:stdgo.GoInt64):stdgo.Error
-
function setenv(_key:stdgo.GoString, _value:stdgo.GoString):stdgo.Error
-
function shutdown(_fd:stdgo.GoInt, _how:stdgo.GoInt):stdgo.Error
-
function stat(_path:stdgo.GoString, _st:stdgo.Ref<stdgo.syscall.Stat_t>):stdgo.Error
-
function stringBytePtr(_s:stdgo.GoString):stdgo.Pointer<stdgo.GoByte>
-
function stringByteSlice(_s:stdgo.GoString):stdgo.Slice<stdgo.GoByte>
-
function symlink(_path:stdgo.GoString, _link:stdgo.GoString):stdgo.Error
-
function sysctl(_key:stdgo.GoString):{ _1:stdgo.Error; _0:stdgo.GoString; }
-
function timespecToNsec(_ts:stdgo.syscall.Timespec):stdgo.GoInt64
-
function timevalToNsec(_tv:stdgo.syscall.Timeval):stdgo.GoInt64
-
function truncate(_path:stdgo.GoString, _length:stdgo.GoInt64):stdgo.Error
-
function utimesNano(_path:stdgo.GoString, _ts:stdgo.Slice<stdgo.syscall.Timespec>):stdgo.Error
-
function write(_fd:stdgo.GoInt, _b:stdgo.Slice<stdgo.GoByte>):{ _1:stdgo.Error; _0:stdgo.GoInt; }
-
function new(?reclen:stdgo.GoUInt16, ?name:stdgo.GoArray<stdgo.GoUInt8>):Void
-
function new(?utime:stdgo.syscall.Timeval, ?stime:stdgo.syscall.Timeval):Void
-
function new(?port:stdgo.GoInt, ?addr:stdgo.GoArray<stdgo.GoUInt8>):Void
-
function new(?port:stdgo.GoInt, ?zoneId:stdgo.GoUInt32, ?addr:stdgo.GoArray<stdgo.GoUInt8>):Void
Constants
import stdgo.syscall.Syscall
final __10:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final __8:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final __9:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
Misc constants expected by package net but not supported.
final _asanenabled:Bool = false
final _direntSize:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final _faketime:Bool = false
final _isBigEndian:Bool = false
final _msanenabled:Bool = false
final _sys_access:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_brk:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_chdir:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_chmod:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_clock:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_clock_getres:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_clock_gettime:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_close:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_cond_broadcast:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_cond_create:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_cond_signal:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_cond_timed_wait_abs:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_cond_wait:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_dup:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_dup2:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_dyncode_create:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_dyncode_delete:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_dyncode_modify:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_exception_clear_flag:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_exception_handler:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_exception_stack:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_exit:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_fstat:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_futex_wait_abs:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_futex_wake:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_get_random_bytes:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_getcwd:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_getdents:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_getpid:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_gettimeofday:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_accept:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_connect:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_makeboundsock:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_mem_obj_create:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_recvmsg:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_sendmsg:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_imc_socketpair:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_isatty:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_link:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_list_mappings:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_lseek:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_lstat:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mkdir:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mmap:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mprotect:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_munmap:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mutex_create:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mutex_lock:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mutex_trylock:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_mutex_unlock:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_nameservice:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_nanosleep:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_null:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_open:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_pread:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_pwrite:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_read:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_readlink:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_rename:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_rmdir:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_sched_yield:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_second_tls_get:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_second_tls_set:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_sem_create:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_sem_get_value:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_sem_post:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_sem_wait:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_stat:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_symlink:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_sysconf:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_test_crash:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_test_infoleak:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_test_syscall_1:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_test_syscall_2:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_thread_create:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_thread_exit:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_thread_nice:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_tls_get:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_tls_init:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_truncate:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_unlink:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_utimes:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final _sys_write:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
These were originally used by Nacl, then later also used by js/wasm. Now that they're only used by js/wasm, these numbers are just arbitrary.
TODO: delete? replace with something meaningful?
final af_INET:Null<Dynamic> = @:invalid_type null
final af_INET6:Null<Dynamic> = @:invalid_type null
final af_UNIX:Null<Dynamic> = @:invalid_type null
final af_UNSPEC:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final e2big:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Argument list too long
final eacces:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Permission denied
final eaddrinuse:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Address already in use
final eaddrnotavail:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Address not available
final eadv:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Advertise error
final eafnosupport:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Address family not supported by protocol family
final eagain:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Try again
final ealready:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Socket already connected
final ebade:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Invalid exchange
final ebadf:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Bad file number
final ebadfd:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
f.d. invalid for this operation
final ebadmsg:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Trying to read unreadable message
final ebadr:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Invalid request descriptor
final ebadrqc:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Invalid request code
final ebadslt:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Invalid slot
final ebfont:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Bad font file fmt
final ebusy:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Device or resource busy
final ecanceled:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Operation canceled.
final ecaseclash:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Filename exists with different case
final echild:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No child processes
final echrng:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Channel number out of range
final ecomm:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Communication error on send
final econnaborted:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Connection aborted
final econnrefused:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Connection refused
final econnreset:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Connection reset by peer
final edeadlk:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Deadlock condition
final edeadlock:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
File locking deadlock error
final edestaddrreq:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Destination address required
final edom:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Math arg out of domain of func
final edotdot:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Cross mount point (not really error)
final edquot:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Quota exceeded
final eexist:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
File exists
final efault:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Bad address
final efbig:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
File too large
final eftype:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Inappropriate file type or format
final ehostdown:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Host is down
final ehostunreach:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Host is unreachable
final eidrm:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Identifier removed
final eilseq:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
final einprogress:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Connection already in progress
final eintr:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Interrupted system call
final einval:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Invalid argument
final eio:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
I/O error
final eisconn:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Socket is already connected
final eisdir:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Is a directory
final el2hlt:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Level 2 halted
final el2nsync:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Level 2 not synchronized
final el3hlt:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Level 3 halted
final el3rst:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Level 3 reset
final elbin:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Inode is remote (not really error)
final elibacc:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Can't access a needed shared lib
final elibbad:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Accessing a corrupted shared lib
final elibexec:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Attempting to exec a shared library
final elibmax:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Attempting to link in too many libs
final elibscn:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
.lib section in a.out corrupted
final elnrng:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Link number out of range
final eloop:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Too many symbolic links
final emfile:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Too many open files
final emlink:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Too many links
final emsgsize:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Message too long
final emultihop:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Multihop attempted
final enametoolong:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
File name too long
final enetdown:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Network interface is not configured
final enetreset:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
final enetunreach:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Network is unreachable
final enfile:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
File table overflow
final enmfile:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No more files
final enoano:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No anode
final enobufs:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No buffer space available
final enocsi:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No CSI structure available
final enodata:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No data (for no delay io)
final enodev:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No such device
final enoent:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No such file or directory
final enoexec:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Exec format error
final enolck:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No record locks available
final enolink:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
The link has been severed
final enomedium:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No medium (in tape drive)
final enomem:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Out of memory
final enomsg:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No message of desired type
final enonet:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Machine is not on the network
final enopkg:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Package not installed
final enoprotoopt:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Protocol not available
final enoshare:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No such host or network path
final enospc:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No space left on device
final enosr:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Out of streams resources
final enostr:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Device not a stream
final enosys:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Function not implemented
final enotconn:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Socket is not connected
final enotdir:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Not a directory
final enotempty:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Directory not empty
final enotsock:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Socket operation on non-socket
final enotsup:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Not supported
final enotty:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Not a typewriter
final enotuniq:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Given log. name not unique
final enxio:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No such device or address
final eopnotsupp:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Operation not supported on transport endpoint
final eoverflow:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Value too large for defined data type
final eperm:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
native_client/src/trusted/service_runtime/include/sys/errno.h The errors are mainly copied from Linux.
Operation not permitted
final epfnosupport:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Protocol family not supported
final epipe:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Broken pipe
final eproclim:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
final eproto:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Protocol error
final eprotonosupport:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Unknown protocol
final eprototype:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Protocol wrong type for socket
final erange:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Math result not representable
final eremchg:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Remote address changed
final eremote:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
The object is remote
final erofs:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Read-only file system
final eshutdown:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Can't send after socket shutdown
final esocktnosupport:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Socket type not supported
final espipe:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Illegal seek
final esrch:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
No such process
final esrmnt:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Srmount error
final estale:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
final etime:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Timer expired
final etimedout:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Connection timed out
final etoomanyrefs:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
final eunatch:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Protocol driver not attached
final eusers:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
final ewouldblock:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Operation would block
final exdev:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Cross-device link
final exfull:stdgo.syscall.Errno = ((((0 : stdgo.GoUIntptr)) : stdgo.syscall.Syscall.Errno))
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
Exchange full
final f_CNVT:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_DUPFD:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_DUPFD_CLOEXEC:Null<Dynamic> = @:invalid_type null
Misc constants expected by package net but not supported.
final f_GETFD:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_GETFL:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_GETLK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_GETOWN:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_RDLCK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_RGETLK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_RSETLK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_RSETLKW:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_SETFD:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_SETFL:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_SETLK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_SETLKW:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_SETOWN:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_UNLCK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_UNLKSYS:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final f_WRLCK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final implementsGetwd:Bool = false
final ipproto_IP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final ipproto_IPV4:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final ipproto_IPV6:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final ipproto_TCP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final ipproto_UDP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final ipv6_V6ONLY:Null<Dynamic> = @:invalid_type null
final o_APPEND:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_CLOEXEC:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_CREAT:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_CREATE:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_EXCL:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_RDONLY:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_RDWR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_SYNC:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_TRUNC:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final o_WRONLY:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final pathMax:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IEXEC:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFBLK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFBOUNDSOCK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFCHR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFCOND:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFDIR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFDSOCK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFIFO:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFLNK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFMT:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFMUTEX:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFREG:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFSEMA:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFSHM:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFSHM_SYSV:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFSOCK:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IFSOCKADDR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IREAD:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IRGRP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IROTH:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IRUSR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IRWXG:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IRWXO:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IRWXU:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_ISGID:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_ISUID:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_ISVTX:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IWGRP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IWOTH:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IWRITE:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IWUSR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IXGRP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IXOTH:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_IXUSR:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final s_UNSUP:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final sigchld:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final sigint:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final sigkill:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final sigquit:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final sigterm:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final sigtrap:stdgo.syscall.Signal = ((((0 : stdgo.GoInt)) : stdgo.syscall.Syscall.Signal))
final so_ERROR:Null<Dynamic> = @:invalid_type null
final sock_DGRAM:Null<Dynamic> = @:invalid_type null
final sock_RAW:Null<Dynamic> = @:invalid_type null
final sock_SEQPACKET:Null<Dynamic> = @:invalid_type null
final sock_STREAM:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final somaxconn:Null<Dynamic> = @:invalid_type null
final stderr:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final stdin:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final stdout:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
final sys_FCNTL:stdgo.GoUInt64 = ((0 : stdgo.GoUInt64))
Misc constants expected by package net but not supported.
unsupported
Variables
import stdgo.syscall.Syscall
var __zero:stdgo.GoUIntptr
Single-word zero for use when we need a valid pointer to 0 bytes. See mksyscall.pl.
var _constants:stdgo.syscall.js.Value
var _env:stdgo.GoMap<stdgo.GoString, stdgo.GoInt>
env maps from an environment variable to its first occurrence in envs.
var _envLock:stdgo.sync.RWMutex
envLock guards env and envs.
var _envOnce:stdgo.sync.Once
envOnce guards initialization by copyenv, which populates env.
var _envs:stdgo.Slice<stdgo.GoString>
envs is provided by the runtime. elements are expected to be of the form "key=value". An empty string means deleted (or a duplicate to be ignored).
var _errEAGAIN:stdgo.Error
Do the interface allocations only once for common Errno values.
var _errEINVAL:stdgo.Error
Do the interface allocations only once for common Errno values.
var _errENOENT:stdgo.Error
Do the interface allocations only once for common Errno values.
var _errnoByCode:stdgo.GoMap<stdgo.GoString, stdgo.syscall.Errno>
var _errorstr:stdgo.GoArray<stdgo.GoString>
TODO: Auto-generate some day. (Hard-coded in binaries so not likely to change.)
var _files:stdgo.GoMap<stdgo.GoInt, stdgo.Ref<stdgo.syscall.T_jsFile>>
var _filesMu:stdgo.sync.Mutex
var _jsFS:stdgo.syscall.js.Value
var _jsProcess:stdgo.syscall.js.Value
var _nodeAPPEND:stdgo.GoInt
var _nodeCREATE:stdgo.GoInt
var _nodeEXCL:stdgo.GoInt
var _nodeRDWR:stdgo.GoInt
var _nodeTRUNC:stdgo.GoInt
var _nodeWRONLY:stdgo.GoInt
var _signals:stdgo.GoArray<stdgo.GoString>
var _uint8Array:stdgo.syscall.js.Value
var forkLock:stdgo.sync.RWMutex
Functions
import stdgo.syscall.Syscall
function _asanRead
function _asanRead(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
function _asanWrite
function _asanWrite(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
function _checkPath
function _checkPath(_path:stdgo.GoString):stdgo.Error
checkPath checks that the path is not empty and that it contains no null characters.
function _copyenv
function _copyenv():Void
function _direntIno
function _direntIno(_buf:stdgo.Slice<stdgo.GoByte>):{
_1:Bool;
_0:stdgo.GoUInt64;
}
function _direntNamlen
function _direntNamlen(_buf:stdgo.Slice<stdgo.GoByte>):{
_1:Bool;
_0:stdgo.GoUInt64;
}
function _direntReclen
function _direntReclen(_buf:stdgo.Slice<stdgo.GoByte>):{
_1:Bool;
_0:stdgo.GoUInt64;
}
function _errnoErr
function _errnoErr(_e:stdgo.syscall.Errno):stdgo.Error
errnoErr returns common boxed Errno values, to prevent allocations at runtime.
function _faketimeWrite
function _faketimeWrite(_fd:stdgo.GoInt, _p:stdgo.Slice<stdgo.GoByte>):stdgo.GoInt
function _fdToFile
function _fdToFile(_fd:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.Ref<stdgo.syscall.T_jsFile>;
}
function _fsCall
function _fsCall(_name:stdgo.GoString, _args:haxe.Rest<stdgo.AnyInterface>):{
_1:stdgo.Error;
_0:stdgo.syscall.js.Value;
}
function _mapJSError
function _mapJSError(_jsErr:stdgo.syscall.js.Value):stdgo.Error
mapJSError maps an error given by Node.js to the appropriate Go error.
function _msanRead
function _msanRead(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
function _msanWrite
function _msanWrite(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
function _now
function _now():{
_1:stdgo.GoInt32;
_0:stdgo.GoInt64;
}
Provided by package runtime.
function _readInt
function _readInt(_b:stdgo.Slice<stdgo.GoByte>, _off:stdgo.GoUIntptr, _size:stdgo.GoUIntptr):{
_1:Bool;
_0:stdgo.GoUInt64;
}
readInt returns the size-bytes unsigned integer in native byte order at offset off.
function _readIntBE
function _readIntBE(_b:stdgo.Slice<stdgo.GoByte>, _size:stdgo.GoUIntptr):stdgo.GoUInt64
function _readIntLE
function _readIntLE(_b:stdgo.Slice<stdgo.GoByte>, _size:stdgo.GoUIntptr):stdgo.GoUInt64
function _recoverErr
function _recoverErr(_errPtr:stdgo.Ref<stdgo.Error>):Void
function _runtimeSetenv
function _runtimeSetenv(_k:stdgo.GoString, _v:stdgo.GoString):Void
runtimeSetenv and runtimeUnsetenv are provided by the runtime.
function _runtimeUnsetenv
function _runtimeUnsetenv(_k:stdgo.GoString):Void
function _runtime_envs
function _runtime_envs():stdgo.Slice<stdgo.GoString>
function _setStat
function _setStat(_st:stdgo.Ref<stdgo.syscall.Stat_t>, _jsSt:stdgo.syscall.js.Value):Void
function _setTimespec
function _setTimespec(_sec:stdgo.GoInt64, _nsec:stdgo.GoInt64):stdgo.syscall.Timespec
function _setTimeval
function _setTimeval(_sec:stdgo.GoInt64, _usec:stdgo.GoInt64):stdgo.syscall.Timeval
function accept
function accept(_fd:stdgo.GoInt):{
_2:stdgo.Error;
_1:stdgo.syscall.Sockaddr;
_0:stdgo.GoInt;
}
function bind
function bind(_fd:stdgo.GoInt, _sa:stdgo.syscall.Sockaddr):stdgo.Error
function bytePtrFromString
function bytePtrFromString(_s:stdgo.GoString):{
_1:stdgo.Error;
_0:stdgo.Pointer<stdgo.GoByte>;
}
BytePtrFromString returns a pointer to a NUL-terminated array of bytes containing the text of s. If s contains a NUL byte at any location, it returns (nil, EINVAL).
function byteSliceFromString
function byteSliceFromString(_s:stdgo.GoString):{
_1:stdgo.Error;
_0:stdgo.Slice<stdgo.GoByte>;
}
ByteSliceFromString returns a NUL-terminated slice of bytes containing the text of s. If s contains a NUL byte at any location, it returns (nil, EINVAL).
function chdir
function chdir(_path:stdgo.GoString):stdgo.Error
function chmod
function chmod(_path:stdgo.GoString, _mode:stdgo.GoUInt32):stdgo.Error
function chown
function chown(_path:stdgo.GoString, _uid:stdgo.GoInt, _gid:stdgo.GoInt):stdgo.Error
function clearenv
function clearenv():Void
function close
function close(_fd:stdgo.GoInt):stdgo.Error
function closeOnExec
function closeOnExec(_fd:stdgo.GoInt):Void
function connect
function connect(_fd:stdgo.GoInt, _sa:stdgo.syscall.Sockaddr):stdgo.Error
function dup
function dup(_fd:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function dup2
function dup2(_fd:stdgo.GoInt, _newfd:stdgo.GoInt):stdgo.Error
function environ
function environ():stdgo.Slice<stdgo.GoString>
function exit
function exit(_code:stdgo.GoInt):Void
function fchdir
function fchdir(_fd:stdgo.GoInt):stdgo.Error
function fchmod
function fchmod(_fd:stdgo.GoInt, _mode:stdgo.GoUInt32):stdgo.Error
function fchown
function fchown(_fd:stdgo.GoInt, _uid:stdgo.GoInt, _gid:stdgo.GoInt):stdgo.Error
function fstat
function fstat(_fd:stdgo.GoInt, _st:stdgo.Ref<stdgo.syscall.Stat_t>):stdgo.Error
function fsync
function fsync(_fd:stdgo.GoInt):stdgo.Error
function ftruncate
function ftruncate(_fd:stdgo.GoInt, _length:stdgo.GoInt64):stdgo.Error
function getcwd
function getcwd(_buf:stdgo.Slice<stdgo.GoByte>):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function getegid
function getegid():stdgo.GoInt
function getenv
function getenv(_key:stdgo.GoString):{
_1:Bool;
_0:stdgo.GoString;
}
function geteuid
function geteuid():stdgo.GoInt
function getgid
function getgid():stdgo.GoInt
function getgroups
function getgroups():{
_1:stdgo.Error;
_0:stdgo.Slice<stdgo.GoInt>;
}
function getpagesize
function getpagesize():stdgo.GoInt
function getpid
function getpid():stdgo.GoInt
function getppid
function getppid():stdgo.GoInt
function getsockoptInt
function getsockoptInt(_fd:stdgo.GoInt, _level:stdgo.GoInt, _opt:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function gettimeofday
function gettimeofday(_tv:stdgo.Ref<stdgo.syscall.Timeval>):stdgo.Error
function getuid
function getuid():stdgo.GoInt
function getwd
function getwd():{
_1:stdgo.Error;
_0:stdgo.GoString;
}
function kill
function kill(_pid:stdgo.GoInt, _signum:stdgo.syscall.Signal):stdgo.Error
function lchown
function lchown(_path:stdgo.GoString, _uid:stdgo.GoInt, _gid:stdgo.GoInt):stdgo.Error
function link
function link(_path:stdgo.GoString, _link:stdgo.GoString):stdgo.Error
function listen
function listen(_fd:stdgo.GoInt, _backlog:stdgo.GoInt):stdgo.Error
function lstat
function lstat(_path:stdgo.GoString, _st:stdgo.Ref<stdgo.syscall.Stat_t>):stdgo.Error
function mkdir
function mkdir(_path:stdgo.GoString, _perm:stdgo.GoUInt32):stdgo.Error
function nsecToTimespec
function nsecToTimespec(_nsec:stdgo.GoInt64):stdgo.syscall.Timespec
NsecToTimespec converts a number of nanoseconds into a Timespec.
function nsecToTimeval
function nsecToTimeval(_nsec:stdgo.GoInt64):stdgo.syscall.Timeval
NsecToTimeval converts a number of nanoseconds into a Timeval.
function open
function open(_path:stdgo.GoString, _openmode:stdgo.GoInt, _perm:stdgo.GoUInt32):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function parseDirent
function parseDirent(_buf:stdgo.Slice<stdgo.GoByte>, _max:stdgo.GoInt, _names:stdgo.Slice<stdgo.GoString>):{
_2:stdgo.Slice<stdgo.GoString>;
_1:stdgo.GoInt;
_0:stdgo.GoInt;
}
ParseDirent parses up to max directory entries in buf, appending the names to names. It returns the number of bytes consumed from buf, the number of entries added to names, and the new names slice.
function pipe
function pipe(_fd:stdgo.Slice<stdgo.GoInt>):stdgo.Error
function pread
function pread(_fd:stdgo.GoInt, _b:stdgo.Slice<stdgo.GoByte>, _offset:stdgo.GoInt64):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function pwrite
function pwrite(_fd:stdgo.GoInt, _b:stdgo.Slice<stdgo.GoByte>, _offset:stdgo.GoInt64):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function rawSyscall
function rawSyscall(_trap:stdgo.GoUIntptr, _a1:stdgo.GoUIntptr, _a2:stdgo.GoUIntptr, _a3:stdgo.GoUIntptr):{
_2:stdgo.syscall.Errno;
_1:stdgo.GoUIntptr;
_0:stdgo.GoUIntptr;
}
function rawSyscall6
function rawSyscall6(_trap:stdgo.GoUIntptr, _a1:stdgo.GoUIntptr, _a2:stdgo.GoUIntptr, _a3:stdgo.GoUIntptr, _a4:stdgo.GoUIntptr, _a5:stdgo.GoUIntptr, _a6:stdgo.GoUIntptr):{
_2:stdgo.syscall.Errno;
_1:stdgo.GoUIntptr;
_0:stdgo.GoUIntptr;
}
function read
function read(_fd:stdgo.GoInt, _b:stdgo.Slice<stdgo.GoByte>):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function readDirent
function readDirent(_fd:stdgo.GoInt, _buf:stdgo.Slice<stdgo.GoByte>):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function readlink
function readlink(_path:stdgo.GoString, _buf:stdgo.Slice<stdgo.GoByte>):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function recvfrom
function recvfrom(_fd:stdgo.GoInt, _p:stdgo.Slice<stdgo.GoByte>, _flags:stdgo.GoInt):{
_2:stdgo.Error;
_1:stdgo.syscall.Sockaddr;
_0:stdgo.GoInt;
}
function recvmsg
function recvmsg(_fd:stdgo.GoInt, _p:stdgo.Slice<stdgo.GoByte>, _oob:stdgo.Slice<stdgo.GoByte>, _flags:stdgo.GoInt):{
_4:stdgo.Error;
_3:stdgo.syscall.Sockaddr;
_2:stdgo.GoInt;
_1:stdgo.GoInt;
_0:stdgo.GoInt;
}
function rename
function rename(_from:stdgo.GoString, _to:stdgo.GoString):stdgo.Error
function rmdir
function rmdir(_path:stdgo.GoString):stdgo.Error
function seek
function seek(_fd:stdgo.GoInt, _offset:stdgo.GoInt64, _whence:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.GoInt64;
}
function sendfile
function sendfile(_outfd:stdgo.GoInt, _infd:stdgo.GoInt, _offset:stdgo.Pointer<stdgo.GoInt64>, _count:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function sendmsgN
function sendmsgN(_fd:stdgo.GoInt, _p:stdgo.Slice<stdgo.GoByte>, _oob:stdgo.Slice<stdgo.GoByte>, _to:stdgo.syscall.Sockaddr, _flags:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function sendto
function sendto(_fd:stdgo.GoInt, _p:stdgo.Slice<stdgo.GoByte>, _flags:stdgo.GoInt, _to:stdgo.syscall.Sockaddr):stdgo.Error
function setNonblock
function setNonblock(_fd:stdgo.GoInt, _nonblocking:Bool):stdgo.Error
function setReadDeadline
function setReadDeadline(_fd:stdgo.GoInt, _t:stdgo.GoInt64):stdgo.Error
function setWriteDeadline
function setWriteDeadline(_fd:stdgo.GoInt, _t:stdgo.GoInt64):stdgo.Error
function setenv
function setenv(_key:stdgo.GoString, _value:stdgo.GoString):stdgo.Error
function setsockoptInt
function setsockoptInt(_fd:stdgo.GoInt, _level:stdgo.GoInt, _opt:stdgo.GoInt, _value:stdgo.GoInt):stdgo.Error
function shutdown
function shutdown(_fd:stdgo.GoInt, _how:stdgo.GoInt):stdgo.Error
function socket
function socket(_proto:stdgo.GoInt, _sotype:stdgo.GoInt, _unused:stdgo.GoInt):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function startProcess
function startProcess(_argv0:stdgo.GoString, _argv:stdgo.Slice<stdgo.GoString>, _attr:stdgo.Ref<stdgo.syscall.ProcAttr>):{
_2:stdgo.Error;
_1:stdgo.GoUIntptr;
_0:stdgo.GoInt;
}
function stat
function stat(_path:stdgo.GoString, _st:stdgo.Ref<stdgo.syscall.Stat_t>):stdgo.Error
function stopIO
function stopIO(_fd:stdgo.GoInt):stdgo.Error
function stringBytePtr
function stringBytePtr(_s:stdgo.GoString):stdgo.Pointer<stdgo.GoByte>
StringBytePtr returns a pointer to a NUL-terminated array of bytes. If s contains a NUL byte this function panics instead of returning an error.
Deprecated: Use BytePtrFromString instead.
function stringByteSlice
function stringByteSlice(_s:stdgo.GoString):stdgo.Slice<stdgo.GoByte>
StringByteSlice converts a string to a NUL-terminated []byte, If s contains a NUL byte this function panics instead of returning an error.
Deprecated: Use ByteSliceFromString instead.
function symlink
function symlink(_path:stdgo.GoString, _link:stdgo.GoString):stdgo.Error
function syscall
function syscall(_trap:stdgo.GoUIntptr, _a1:stdgo.GoUIntptr, _a2:stdgo.GoUIntptr, _a3:stdgo.GoUIntptr):{
_2:stdgo.syscall.Errno;
_1:stdgo.GoUIntptr;
_0:stdgo.GoUIntptr;
}
function syscall6
function syscall6(_trap:stdgo.GoUIntptr, _a1:stdgo.GoUIntptr, _a2:stdgo.GoUIntptr, _a3:stdgo.GoUIntptr, _a4:stdgo.GoUIntptr, _a5:stdgo.GoUIntptr, _a6:stdgo.GoUIntptr):{
_2:stdgo.syscall.Errno;
_1:stdgo.GoUIntptr;
_0:stdgo.GoUIntptr;
}
function sysctl
function sysctl(_key:stdgo.GoString):{
_1:stdgo.Error;
_0:stdgo.GoString;
}
function timespecToNsec
function timespecToNsec(_ts:stdgo.syscall.Timespec):stdgo.GoInt64
TimespecToNsec returns the time stored in ts as nanoseconds.
function timevalToNsec
function timevalToNsec(_tv:stdgo.syscall.Timeval):stdgo.GoInt64
TimevalToNsec returns the time stored in tv as nanoseconds.
function truncate
function truncate(_path:stdgo.GoString, _length:stdgo.GoInt64):stdgo.Error
function umask
function umask(_mask:stdgo.GoInt):stdgo.GoInt
function unlink
function unlink(_path:stdgo.GoString):stdgo.Error
function unsetenv
function unsetenv(_key:stdgo.GoString):stdgo.Error
function utimesNano
function utimesNano(_path:stdgo.GoString, _ts:stdgo.Slice<stdgo.syscall.Timespec>):stdgo.Error
function wait4
function wait4(_pid:stdgo.GoInt, _wstatus:stdgo.Pointer<stdgo.syscall.WaitStatus>, _options:stdgo.GoInt, _rusage:stdgo.Ref<stdgo.syscall.Rusage>):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
function write
function write(_fd:stdgo.GoInt, _b:stdgo.Slice<stdgo.GoByte>):{
_1:stdgo.Error;
_0:stdgo.GoInt;
}
Classes
import stdgo.syscall.*
class Dirent
var name:stdgo.GoArray<stdgo.GoUInt8>
var reclen:stdgo.GoUInt16
Dirent function new
function new(?reclen:stdgo.GoUInt16, ?name:stdgo.GoArray<stdgo.GoUInt8>):Void
class Iovec
dummy
Iovec function new
function new():Void
class ProcAttr
XXX made up
var dir:stdgo.GoString
var env:stdgo.Slice<stdgo.GoString>
var files:stdgo.Slice<stdgo.GoUIntptr>
var sys:stdgo.Ref<stdgo.syscall.SysProcAttr>
ProcAttr function new
function new(?dir:stdgo.GoString, ?env:stdgo.Slice<stdgo.GoString>, ?files:stdgo.Slice<stdgo.GoUIntptr>, ?sys:stdgo.Ref<stdgo.syscall.SysProcAttr>):Void
class Rusage
XXX made up
var stime:stdgo.syscall.Timeval
var utime:stdgo.syscall.Timeval
Rusage function new
function new(?utime:stdgo.syscall.Timeval, ?stime:stdgo.syscall.Timeval):Void
class SockaddrInet4
var addr:stdgo.GoArray<stdgo.GoUInt8>
var port:stdgo.GoInt
SockaddrInet4 function new
function new(?port:stdgo.GoInt, ?addr:stdgo.GoArray<stdgo.GoUInt8>):Void
class SockaddrInet6
var addr:stdgo.GoArray<stdgo.GoUInt8>
var port:stdgo.GoInt
var zoneId:stdgo.GoUInt32
SockaddrInet6 function new
function new(?port:stdgo.GoInt, ?zoneId:stdgo.GoUInt32, ?addr:stdgo.GoArray<stdgo.GoUInt8>):Void
class SockaddrUnix
var name:stdgo.GoString
SockaddrUnix function new
function new(?name:stdgo.GoString):Void
class Stat_t
var atime:stdgo.GoInt64
var atimeNsec:stdgo.GoInt64
var blksize:stdgo.GoInt32
var blocks:stdgo.GoInt32
var ctime:stdgo.GoInt64
var ctimeNsec:stdgo.GoInt64
var dev:stdgo.GoInt64
var gid:stdgo.GoUInt32
var ino:stdgo.GoUInt64
var mode:stdgo.GoUInt32
var mtime:stdgo.GoInt64
var mtimeNsec:stdgo.GoInt64
var nlink:stdgo.GoUInt32
var rdev:stdgo.GoInt64
var size:stdgo.GoInt64
var uid:stdgo.GoUInt32
Stat_t function new
function new(?dev:stdgo.GoInt64, ?ino:stdgo.GoUInt64, ?mode:stdgo.GoUInt32, ?nlink:stdgo.GoUInt32, ?uid:stdgo.GoUInt32, ?gid:stdgo.GoUInt32, ?rdev:stdgo.GoInt64, ?size:stdgo.GoInt64, ?blksize:stdgo.GoInt32, ?blocks:stdgo.GoInt32, ?atime:stdgo.GoInt64, ?atimeNsec:stdgo.GoInt64, ?mtime:stdgo.GoInt64, ?mtimeNsec:stdgo.GoInt64, ?ctime:stdgo.GoInt64, ?ctimeNsec:stdgo.GoInt64):Void
class SysProcAttr
SysProcAttr function new
function new():Void
class Timespec
var nsec:stdgo.GoInt64
var sec:stdgo.GoInt64
Timespec function new
function new(?sec:stdgo.GoInt64, ?nsec:stdgo.GoInt64):Void
Timespec function nano
function nano():stdgo.GoInt64
Nano returns the time stored in ts as nanoseconds.
Timespec function unix
function unix():{
_1:stdgo.GoInt64;
_0:stdgo.GoInt64;
}
Unix returns the time stored in ts as seconds plus nanoseconds.
class Timeval
var sec:stdgo.GoInt64
var usec:stdgo.GoInt64
Timeval function new
function new(?sec:stdgo.GoInt64, ?usec:stdgo.GoInt64):Void
Timeval function nano
function nano():stdgo.GoInt64
Nano returns the time stored in tv as nanoseconds.
Timeval function unix
function unix():{
_1:stdgo.GoInt64;
_0:stdgo.GoInt64;
}
Unix returns the time stored in tv as seconds plus nanoseconds.
Typedefs
import stdgo.syscall.*
typedef Conn
typedef Conn = {
public function syscallConn():{
_1:stdgo.Error;
_0:stdgo.syscall.RawConn;
}; // SyscallConn returns a raw network connection.
};
Conn is implemented by some types in the net and os packages to provide access to the underlying file descriptor or handle.
typedef Errno
typedef Errno = stdgo.GoUIntptr;
An Errno is an unsigned number describing an error condition. It implements the error interface. The zero Errno is by convention a non-error, so code to convert from Errno to error should use:
err = nil
if errno != 0 {
err = errno
}
Errno values can be tested against error values using errors.Is. For example:
_, _, err := syscall.Syscall(...)
if errors.Is(err, fs.ErrNotExist) ...
typedef RawConn
typedef RawConn = {
public function write(_f:(_fd:stdgo.GoUIntptr):Bool):stdgo.Error; // Write is like Read but for writing.
public function read(_f:(_fd:stdgo.GoUIntptr):Bool):stdgo.Error; // Read invokes f on the underlying connection's file descriptor or handle; f is expected to try to read from the file descriptor. If f returns true, Read returns. Otherwise Read blocks waiting for the connection to be ready for reading and tries again repeatedly. The file descriptor is guaranteed to remain valid while f executes but not after f returns.
public function control(_f:(_fd:stdgo.GoUIntptr):Void):stdgo.Error; // Control invokes f on the underlying connection's file descriptor or handle. The file descriptor fd is guaranteed to remain valid while f executes but not after f returns.
};
A RawConn is a raw network connection.
typedef Signal
typedef Signal = stdgo.GoInt;
A Signal is a number describing a process signal. It implements the os.Signal interface.
typedef Sockaddr
typedef Sockaddr = stdgo.AnyInterface;
typedef WaitStatus
typedef WaitStatus = stdgo.GoUInt32;