package syscall
Import Path
syscall (on go.dev)
Dependency Relation
imports 8 packages, and imported by 8 packages
Involved Source Files
bpf_darwin.go
dirent.go
endian_little.go
env_unix.go
exec_libc2.go
exec_unix.go
flock_darwin.go
forkpipe.go
msan0.go
net.go
ptrace_darwin.go
route_bsd.go
route_darwin.go
sockcmsg_unix.go
sockcmsg_unix_other.go
str.go
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.
syscall_bsd.go
syscall_darwin.go
syscall_darwin_amd64.go
syscall_unix.go
time_nofake.go
timestruct.go
zerrors_darwin_amd64.go
zsyscall_darwin_amd64.go
zsysnum_darwin_amd64.go
ztypes_darwin_amd64.go
asm_darwin_amd64.s
zsyscall_darwin_amd64.s
Package-Level Type Names (total 74, in which 64 are exported)
Code uint16
Jf uint8
Jt uint8
K uint32
func BpfJump(code, k, jt, jf int) *BpfInsn
func BpfStmt(code, k int) *BpfInsn
func SetBpf(fd int, i []BpfInsn) error
Len uint32
Level int32
Type int32
(*T) SetLen(length int)
(*T) data(offset uintptr) unsafe.Pointer
func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error)
Conn is implemented by some types in the net and os packages to provide
access to the underlying file descriptor or handle.
SyscallConn returns a raw network connection.
*net.IPConn
*net.TCPConn
*net.TCPListener
*net.UDPConn
*net.UnixConn
*net.UnixListener
*os.File
Credential holds user and group identities to be assumed
by a child process started by StartProcess.
// Group ID.
// Supplementary group IDs.
// If true, don't set supplementary groups
// User ID.
Ino uint64
Name [1024]int8
Namlen uint16
Pad_cgo_0 [3]byte
Reclen uint16
Seekoff uint64
Type uint8
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
func os.readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
func os.readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
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 from the os package
using errors.Is. For example:
_, _, err := syscall.Syscall(...)
if errors.Is(err, fs.ErrNotExist) ...
( T) Error() string
( T) Is(target error) bool
( T) Temporary() bool
( T) Timeout() bool
T : error
T : net.Error
T : net.temporary
T : net.timeout
T : os.timeout
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)
func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno)
func rawSyscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func rawSyscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
func syscall(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func syscall6X(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func syscallPtr(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func syscallX(fn, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func os.readdir_r(dir uintptr, entry *Dirent, result **Dirent) (res Errno)
func errnoErr(e Errno) error
func internal/poll.errnoErr(e Errno) error
const E2BIG
const EACCES
const EADDRINUSE
const EADDRNOTAVAIL
const EAFNOSUPPORT
const EAGAIN
const EALREADY
const EAUTH
const EBADARCH
const EBADEXEC
const EBADF
const EBADMACHO
const EBADMSG
const EBADRPC
const EBUSY
const ECANCELED
const ECHILD
const ECONNABORTED
const ECONNREFUSED
const ECONNRESET
const EDEADLK
const EDESTADDRREQ
const EDEVERR
const EDOM
const EDQUOT
const EEXIST
const EFAULT
const EFBIG
const EFTYPE
const EHOSTDOWN
const EHOSTUNREACH
const EIDRM
const EILSEQ
const EINPROGRESS
const EINTR
const EINVAL
const EIO
const EISCONN
const EISDIR
const ELAST
const ELOOP
const EMFILE
const EMLINK
const EMSGSIZE
const EMULTIHOP
const ENAMETOOLONG
const ENEEDAUTH
const ENETDOWN
const ENETRESET
const ENETUNREACH
const ENFILE
const ENOATTR
const ENOBUFS
const ENODATA
const ENODEV
const ENOENT
const ENOEXEC
const ENOLCK
const ENOLINK
const ENOMEM
const ENOMSG
const ENOPOLICY
const ENOPROTOOPT
const ENOSPC
const ENOSR
const ENOSTR
const ENOSYS
const ENOTBLK
const ENOTCONN
const ENOTDIR
const ENOTEMPTY
const ENOTRECOVERABLE
const ENOTSOCK
const ENOTSUP
const ENOTTY
const ENXIO
const EOPNOTSUPP
const EOVERFLOW
const EOWNERDEAD
const EPERM
const EPFNOSUPPORT
const EPIPE
const EPROCLIM
const EPROCUNAVAIL
const EPROGMISMATCH
const EPROGUNAVAIL
const EPROTO
const EPROTONOSUPPORT
const EPROTOTYPE
const EPWROFF
const ERANGE
const EREMOTE
const EROFS
const ERPCMISMATCH
const ESHLIBVERS
const ESHUTDOWN
const ESOCKTNOSUPPORT
const ESPIPE
const ESRCH
const ESTALE
const ETIME
const ETIMEDOUT
const ETOOMANYREFS
const ETXTBSY
const EUSERS
const EWOULDBLOCK
const EXDEV
Bits [32]int32
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
Len int64
Pid int32
Start int64
Type int16
Whence int16
func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error
Filt [8]uint32
func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error)
func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error
Addrs int32
Flags int32
Index uint16
Metric int32
Msglen uint16
Pad_cgo_0 [2]byte
Type uint8
Version uint8
Addrlen uint8
Baudrate uint32
Collisions uint32
Hdrlen uint8
Hwassist uint32
Ibytes uint32
Ierrors uint32
Imcasts uint32
Ipackets uint32
Iqdrops uint32
Lastchange Timeval32
Metric uint32
Mtu uint32
Noproto uint32
Obytes uint32
Oerrors uint32
Omcasts uint32
Opackets uint32
Physical uint8
Recvquota uint8
Recvtiming uint32
Reserved1 uint32
Reserved2 uint32
Type uint8
Typelen uint8
Unused1 uint8
Unused2 uint32
Xmitquota uint8
Xmittiming uint32
Addrs int32
Flags int32
Index uint16
Msglen uint16
Pad_cgo_0 [2]byte
Refcount int32
Type uint8
Version uint8
Addrs int32
Data IfData
Flags int32
Index uint16
Msglen uint16
Pad_cgo_0 [2]byte
Type uint8
Version uint8
InterfaceAddrMessage represents a routing message containing
network interface address entries.
Deprecated: Use golang.org/x/net/route instead.
Data []byte
Header IfaMsghdr
(*T) sockaddr() ([]Sockaddr, error)
*T : RoutingMessage
InterfaceMessage represents a routing message containing
network interface entries.
Deprecated: Use golang.org/x/net/route instead.
Data []byte
Header IfMsghdr
(*T) sockaddr() ([]Sockaddr, error)
*T : RoutingMessage
InterfaceMulticastAddrMessage represents a routing message
containing network interface address entries.
Deprecated: Use golang.org/x/net/route instead.
Data []byte
Header IfmaMsghdr2
(*T) sockaddr() ([]Sockaddr, error)
*T : RoutingMessage
Base *byte
Len uint64
(*T) SetLen(length int)
func internal/poll.newIovecWithBase(base *byte) Iovec
func writev(fd int, iovecs []Iovec) (cnt uintptr, err error)
func internal/poll.writev(fd int, iovecs []Iovec) (uintptr, error)
// in_addr
// in_addr
func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error)
func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error)
func internal/poll.(*FD).SetsockoptIPMreq(level, name int, mreq *IPMreq) error
func net.setIPv4MreqToInterface(mreq *IPMreq, ifi *net.Interface) error
Interface uint32
// in6_addr
func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error)
func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error)
func internal/poll.(*FD).SetsockoptIPv6Mreq(level, name int, mreq *IPv6Mreq) error
Addr RawSockaddrInet6
Mtu uint32
func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error)
Data int64
Fflags uint32
Filter int16
Flags uint16
Ident uint64
Udata *byte
func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error)
func SetKevent(k *Kevent_t, fd, mode, flags int)
Linger int32
Onoff int32
func SetsockoptLinger(fd, level, opt int, l *Linger) (err error)
func internal/poll.(*FD).SetsockoptLinger(level, name int, l *Linger) error
Control *byte
Controllen uint32
Flags int32
Iov *Iovec
Iovlen int32
Name *byte
Namelen uint32
Pad_cgo_0 [4]byte
Pad_cgo_1 [4]byte
(*T) SetControllen(length int)
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
ProcAttr holds attributes that will be applied to a new process started
by StartProcess.
// Current working directory.
// Environment.
// File descriptors.
Sys *SysProcAttr
func ForkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)
func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error)
func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno)
func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)
var zeroProcAttr
A RawConn is a raw network connection.
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.
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.
Write is like Read but for writing.
*net.rawConn
*net.rawListener
*os.rawConn
func Conn.SyscallConn() (RawConn, error)
func net.(*IPConn).SyscallConn() (RawConn, error)
func net.(*TCPConn).SyscallConn() (RawConn, error)
func net.(*TCPListener).SyscallConn() (RawConn, error)
func net.(*UDPConn).SyscallConn() (RawConn, error)
func net.(*UnixConn).SyscallConn() (RawConn, error)
func net.(*UnixListener).SyscallConn() (RawConn, error)
func os.(*File).SyscallConn() (RawConn, error)
Addr RawSockaddr
Pad [92]int8
func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error)
func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error)
func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
Cur uint64
Max uint64
func Getrlimit(which int, lim *Rlimit) (err error)
func Setrlimit(which int, lim *Rlimit) (err error)
RouteMessage represents a routing message containing routing
entries.
Deprecated: Use golang.org/x/net/route instead.
Data []byte
Header RtMsghdr
(*T) sockaddr() ([]Sockaddr, error)
*T : RoutingMessage
RoutingMessage represents a routing message.
Deprecated: Use golang.org/x/net/route instead.
( T) sockaddr() ([]Sockaddr, error)
*InterfaceAddrMessage
*InterfaceMessage
*InterfaceMulticastAddrMessage
*RouteMessage
func ParseRoutingMessage(b []byte) (msgs []RoutingMessage, err error)
func ParseRoutingSockaddr(msg RoutingMessage) ([]Sockaddr, error)
Expire int32
Filler [4]uint32
Hopcount uint32
Locks uint32
Mtu uint32
Pksent uint32
Recvpipe uint32
Rtt uint32
Rttvar uint32
Sendpipe uint32
Ssthresh uint32
Addrs int32
Errno int32
Flags int32
Index uint16
Inits uint32
Msglen uint16
Pad_cgo_0 [2]byte
Pid int32
Rmx RtMetrics
Seq int32
Type uint8
Use int32
Version uint8
Idrss int64
Inblock int64
Isrss int64
Ixrss int64
Majflt int64
Maxrss int64
Minflt int64
Msgrcv int64
Msgsnd int64
Nivcsw int64
Nsignals int64
Nswap int64
Nvcsw int64
Oublock int64
Stime Timeval
Utime Timeval
func Getrusage(who int, rusage *Rusage) (err error)
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error)
func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
A Signal is a number describing a process signal.
It implements the os.Signal interface.
( T) Signal()
( T) String() string
T : fmt.Stringer
T : os.Signal
T : context.stringer
T : runtime.stringer
func WaitStatus.Signal() Signal
func WaitStatus.StopSignal() Signal
func Kill(pid int, signum Signal) (err error)
const SIGABRT
const SIGALRM
const SIGBUS
const SIGCHLD
const SIGCONT
const SIGEMT
const SIGFPE
const SIGHUP
const SIGILL
const SIGINFO
const SIGINT
const SIGIO
const SIGIOT
const SIGKILL
const SIGPIPE
const SIGPROF
const SIGQUIT
const SIGSEGV
const SIGSTOP
const SIGSYS
const SIGTERM
const SIGTRAP
const SIGTSTP
const SIGTTIN
const SIGTTOU
const SIGURG
const SIGUSR1
const SIGUSR2
const SIGVTALRM
const SIGWINCH
const SIGXCPU
const SIGXFSZ
// lowercase; only we can define Sockaddrs
*SockaddrDatalink
*SockaddrInet4
*SockaddrInet6
*SockaddrUnix
func Accept(fd int) (nfd int, sa Sockaddr, err error)
func Getpeername(fd int) (sa Sockaddr, err error)
func Getsockname(fd int) (sa Sockaddr, err error)
func ParseRoutingSockaddr(msg RoutingMessage) ([]Sockaddr, error)
func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error)
func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error)
func internal/poll.(*FD).Accept() (int, Sockaddr, string, error)
func internal/poll.(*FD).ReadFrom(p []byte) (int, Sockaddr, error)
func internal/poll.(*FD).ReadMsg(p []byte, oob []byte) (int, int, int, Sockaddr, error)
func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error)
func parseNetworkLayerAddr(b []byte, family byte) (Sockaddr, error)
func parseSockaddrInet(b []byte, family byte) (Sockaddr, error)
func (*InterfaceAddrMessage).sockaddr() ([]Sockaddr, error)
func (*InterfaceMessage).sockaddr() ([]Sockaddr, error)
func (*InterfaceMulticastAddrMessage).sockaddr() ([]Sockaddr, error)
func (*RouteMessage).sockaddr() ([]Sockaddr, error)
func internal/poll.accept(s int) (int, Sockaddr, string, error)
func net.ipToSockaddr(family int, ip net.IP, port int, zone string) (Sockaddr, error)
func net.(*IPAddr).sockaddr(family int) (Sockaddr, error)
func net.(*TCPAddr).sockaddr(family int) (Sockaddr, error)
func net.(*UDPAddr).sockaddr(family int) (Sockaddr, error)
func net.(*UnixAddr).sockaddr(family int) (Sockaddr, error)
func Bind(fd int, sa Sockaddr) (err error)
func Connect(fd int, sa Sockaddr) (err error)
func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error)
func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error)
func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error)
func internal/poll.(*FD).WriteMsg(p []byte, oob []byte, sa Sockaddr) (int, int, error)
func internal/poll.(*FD).WriteTo(p []byte, sa Sockaddr) (int, error)
func net.sockaddrToIP(sa Sockaddr) net.Addr
func net.sockaddrToTCP(sa Sockaddr) net.Addr
func net.sockaddrToUDP(sa Sockaddr) net.Addr
func net.sockaddrToUnix(sa Sockaddr) net.Addr
func net.sockaddrToUnixgram(sa Sockaddr) net.Addr
func net.sockaddrToUnixpacket(sa Sockaddr) net.Addr
Alen uint8
Data [12]int8
Family uint8
Index uint16
Len uint8
Nlen uint8
Slen uint8
Type uint8
raw RawSockaddrDatalink
(*T) sockaddr() (unsafe.Pointer, _Socklen, error)
*T : Sockaddr
func parseLinkLayerAddr(b []byte) (*SockaddrDatalink, int, error)
func parseSockaddrLink(b []byte) (*SockaddrDatalink, error)
Addr [4]byte
Port int
raw RawSockaddrInet4
(*T) sockaddr() (unsafe.Pointer, _Socklen, error)
*T : Sockaddr
Addr [16]byte
Port int
ZoneId uint32
raw RawSockaddrInet6
(*T) sockaddr() (unsafe.Pointer, _Socklen, error)
*T : Sockaddr
SocketControlMessage represents a socket control message.
Data []byte
Header Cmsghdr
func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error)
func ParseUnixRights(m *SocketControlMessage) ([]int, error)
Atimespec Timespec
Birthtimespec Timespec
Blksize int32
Blocks int64
Ctimespec Timespec
Dev int32
Flags uint32
Gen uint32
Gid uint32
Ino uint64
Lspare int32
Mode uint16
Mtimespec Timespec
Nlink uint16
Pad_cgo_0 [4]byte
Qspare [2]int64
Rdev int32
Size int64
Uid uint32
func Fstat(fd int, stat *Stat_t) (err error)
func Lstat(path string, stat *Stat_t) (err error)
func Stat(path string, stat *Stat_t) (err error)
func internal/poll.(*FD).Fstat(s *Stat_t) error
func internal/syscall/unix.Fstatat(dirfd int, path string, stat *Stat_t, flags int) error
func fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
func internal/syscall/unix.fstatat(dirfd int, path string, stat *Stat_t, flags int) error
Bavail uint64
Bfree uint64
Blocks uint64
Bsize uint32
Ffree uint64
Files uint64
Flags uint32
Fsid Fsid
Fssubtype uint32
Fstypename [16]int8
Iosize int32
Mntfromname [1024]int8
Mntonname [1024]int8
Owner uint32
Reserved [8]uint32
Type uint32
func Fstatfs(fd int, stat *Statfs_t) (err error)
func Getfsstat(buf []Statfs_t, flags int) (n int, err error)
func Statfs(path string, stat *Statfs_t) (err error)
// Chroot.
// Credential.
// Controlling TTY fd
Foreground places the child process group in the foreground.
This implies Setpgid. The Ctty field must be set to
the descriptor of the controlling TTY.
Unlike Setctty, in this case Ctty must be a descriptor
number in the parent process.
// Detach fd 0 from controlling terminal
// Child's process group ID if Setpgid.
// Enable tracing.
Setctty sets the controlling terminal of the child to
file descriptor Ctty. Ctty must be a descriptor number
in the child process: an index into ProcAttr.Files.
This is only meaningful if Setsid is true.
Setpgid sets the process group ID of the child to Pgid,
or, if Pgid == 0, to the new child's process ID.
// Create session.
func internal/syscall/execenv.Default(sys *SysProcAttr) ([]string, error)
func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno)
var zeroSysProcAttr
Cc [20]uint8
Cflag uint64
Iflag uint64
Ispeed uint64
Lflag uint64
Oflag uint64
Ospeed uint64
Pad_cgo_0 [4]byte
Nsec int64
Sec int64
Nano returns the time stored in ts as nanoseconds.
Unix returns the time stored in ts as seconds plus nanoseconds.
func NsecToTimespec(nsec int64) Timespec
func setTimespec(sec, nsec int64) Timespec
func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error)
func TimespecToNsec(ts Timespec) int64
func UtimesNano(path string, ts []Timespec) error
func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error)
func setattrlistTimes(path string, times []Timespec) error
func utimensat(dirfd int, path string, times *[2]Timespec, flag int) error
func os.timespecToTime(ts Timespec) time.Time
Pad_cgo_0 [4]byte
Sec int64
Usec int32
Nano returns the time stored in tv as nanoseconds.
Unix returns the time stored in tv as seconds plus nanoseconds.
func BpfTimeout(fd int) (*Timeval, error)
func NsecToTimeval(nsec int64) Timeval
func setTimeval(sec, usec int64) Timeval
func Adjtime(delta *Timeval, olddelta *Timeval) (err error)
func Adjtime(delta *Timeval, olddelta *Timeval) (err error)
func Futimes(fd int, tv []Timeval) (err error)
func Gettimeofday(tp *Timeval) (err error)
func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error)
func SetBpfTimeout(fd int, tv *Timeval) error
func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error)
func Settimeofday(tp *Timeval) (err error)
func TimevalToNsec(tv Timeval) int64
func Utimes(path string, tv []Timeval) (err error)
func futimes(fd int, timeval *[2]Timeval) (err error)
func utimes(path string, timeval *[2]Timeval) (err error)
Package-Level Functions (total 406, in which 188 are exported)
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
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).
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).
Deprecated: Use golang.org/x/net/bpf instead.
func Clearenv() func CloseOnExec(fd int)
CmsgLen returns the value to store in the Len field of the Cmsghdr
structure, taking into account any necessary alignment.
CmsgSpace returns the number of bytes an ancillary element with
payload of the passed data length occupies.
func Exchangedata(path1 string, path2 string, options int) (err error)
Exec invokes the execve(2) system call.
FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
Deprecated: Use golang.org/x/net/bpf instead.
Combination of fork and exec, careful to be thread safe.
func Getdtablesize() (size int) func Getpagesize() int func Getpeername(fd int) (sa Sockaddr, err error) func Getpriority(which int, who int) (prio int, err error) func Getsockname(fd int) (sa Sockaddr, err error) func GetsockoptByte(fd, level, opt int) (value byte, err error) func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) func GetsockoptInt(fd, level, opt int) (value int, err error) func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) func Gettimeofday(tp *Timeval) (err error) func Munlockall() (err error)
NsecToTimespec converts a number of nanoseconds into a Timespec.
NsecToTimeval converts a number of nanoseconds into a Timeval.
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.
ParseRoutingMessage parses b as routing messages and returns the
slice containing the RoutingMessage interfaces.
Deprecated: Use golang.org/x/net/route instead.
ParseRoutingSockaddr parses msg's payload as raw sockaddrs and
returns the slice containing the Sockaddr interfaces.
Deprecated: Use golang.org/x/net/route instead.
ParseSocketControlMessage parses b as an array of socket control
messages.
ParseUnixRights decodes a socket control message that contains an
integer array of open file descriptors from another process.
func PtraceAttach(pid int) (err error) func PtraceDetach(pid int) (err error) func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) func ReadDirent(fd int, buf []byte) (n int, err error) func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error)
RouteRIB returns routing information base, as known as RIB,
which consists of network facility information, states and
parameters.
Deprecated: Use golang.org/x/net/route instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
func SetNonblock(fd int, nonblocking bool) (err error) func Setpriority(which int, who int, prio int) (err error) func Setprivexec(flag int) (err error) func SetsockoptByte(fd, level, opt int, value byte) (err error) func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) func SetsockoptInt(fd, level, opt int, value int) (err error) func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error) func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error) func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) func SetsockoptString(fd, level, opt int, s string) (err error) func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) func Settimeofday(tp *Timeval) (err error)
SlicePtrFromStrings converts a slice of strings to a slice of
pointers to NUL-terminated byte arrays. If any string contains
a NUL byte, it returns (nil, EINVAL).
func Socketpair(domain, typ, proto int) (fd [2]int, err error)
StartProcess wraps ForkExec for package os.
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.
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.
StringSlicePtr converts a slice of strings to a slice of pointers
to NUL-terminated byte arrays. If any string contains a NUL byte
this function panics instead of returning an error.
Deprecated: Use SlicePtrFromStrings instead.
func SysctlUint32(name string) (value uint32, err error)
TimespecToNSec returns the time stored in ts as nanoseconds.
TimevalToNsec returns the time stored in tv as nanoseconds.
UnixRights encodes a set of open file descriptors into a socket
control message for sending to another process.
func UtimesNano(path string, ts []Timespec) error
Package-Level Variables (total 24, in which 5 are exported)
For testing: clients can set this flag to force
creation of IPv6 sockets to return EAFNOSUPPORT.
Package-Level Constants (total 1665, in which 1642 are exported)
const AF_APPLETALK = 16 const AF_CCITT = 10 const AF_CHAOS = 5 const AF_CNT = 21 const AF_COIP = 20 const AF_DATAKIT = 9 const AF_DECnet = 12 const AF_DLI = 13 const AF_E164 = 28 const AF_ECMA = 8 const AF_HYLINK = 15 const AF_IEEE80211 = 37 const AF_IMPLINK = 3 const AF_INET = 2 const AF_INET6 = 30 const AF_IPX = 23 const AF_ISDN = 28 const AF_ISO = 7 const AF_LAT = 14 const AF_LINK = 18 const AF_LOCAL = 1 const AF_MAX = 38 const AF_NATM = 31 const AF_NDRV = 27 const AF_NETBIOS = 33 const AF_NS = 6 const AF_OSI = 7 const AF_PPP = 34 const AF_PUP = 4 const AF_RESERVED_36 = 36 const AF_ROUTE = 17 const AF_SIP = 24 const AF_SNA = 11 const AF_SYSTEM = 32 const AF_UNIX = 1 const AF_UNSPEC = 0 const B0 = 0 const B110 = 110 const B115200 = 115200 const B1200 = 1200 const B134 = 134 const B14400 = 14400 const B150 = 150 const B1800 = 1800 const B19200 = 19200 const B200 = 200 const B230400 = 230400 const B2400 = 2400 const B28800 = 28800 const B300 = 300 const B38400 = 38400 const B4800 = 4800 const B50 = 50 const B57600 = 57600 const B600 = 600 const B7200 = 7200 const B75 = 75 const B76800 = 76800 const B9600 = 9600 const BIOCFLUSH = 536887912 const BIOCGBLEN = 1074020966 const BIOCGDLT = 1074020970 const BIOCGDLTLIST = 3222028921 const BIOCGETIF = 1075855979 const BIOCGHDRCMPLT = 1074020980 const BIOCGRSIG = 1074020978 const BIOCGRTIMEOUT = 1074807406 const BIOCGSEESENT = 1074020982 const BIOCGSTATS = 1074283119 const BIOCIMMEDIATE = 2147762800 const BIOCPROMISC = 536887913 const BIOCSBLEN = 3221504614 const BIOCSDLT = 2147762808 const BIOCSETF = 2148549223 const BIOCSETIF = 2149597804 const BIOCSHDRCMPLT = 2147762805 const BIOCSRSIG = 2147762803 const BIOCSRTIMEOUT = 2148549229 const BIOCSSEESENT = 2147762807 const BIOCVERSION = 1074020977 const BPF_A = 16 const BPF_ABS = 32 const BPF_ADD = 0 const BPF_ALIGNMENT = 4 const BPF_ALU = 4 const BPF_AND = 80 const BPF_B = 16 const BPF_DIV = 48 const BPF_H = 8 const BPF_IMM = 0 const BPF_IND = 64 const BPF_JA = 0 const BPF_JEQ = 16 const BPF_JGE = 48 const BPF_JGT = 32 const BPF_JMP = 5 const BPF_JSET = 64 const BPF_K = 0 const BPF_LD = 0 const BPF_LDX = 1 const BPF_LEN = 128 const BPF_LSH = 96 const BPF_MAJOR_VERSION = 1 const BPF_MAXBUFSIZE = 524288 const BPF_MAXINSNS = 512 const BPF_MEM = 96 const BPF_MEMWORDS = 16 const BPF_MINBUFSIZE = 32 const BPF_MINOR_VERSION = 1 const BPF_MISC = 7 const BPF_MSH = 160 const BPF_MUL = 32 const BPF_NEG = 128 const BPF_OR = 64 const BPF_RELEASE = 199606 const BPF_RET = 6 const BPF_RSH = 112 const BPF_ST = 2 const BPF_STX = 3 const BPF_SUB = 16 const BPF_TAX = 0 const BPF_TXA = 128 const BPF_W = 0 const BPF_X = 8 const BRKINT = 2 const CFLUSH = 15 const CLOCAL = 32768 const CREAD = 2048 const CS5 = 0 const CS6 = 256 const CS7 = 512 const CS8 = 768 const CSIZE = 768 const CSTART = 17 const CSTATUS = 20 const CSTOP = 19 const CSTOPB = 1024 const CSUSP = 26 const CTL_MAXNAME = 12 const CTL_NET = 4 const DLT_APPLE_IP_OVER_IEEE1394 = 138 const DLT_ARCNET = 7 const DLT_ATM_CLIP = 19 const DLT_ATM_RFC1483 = 11 const DLT_AX25 = 3 const DLT_C_HDLC = 104 const DLT_CHAOS = 5 const DLT_CHDLC = 104 const DLT_EN10MB = 1 const DLT_EN3MB = 2 const DLT_FDDI = 10 const DLT_IEEE802 = 6 const DLT_IEEE802_11 = 105 const DLT_IEEE802_11_RADIO = 127 const DLT_IEEE802_11_RADIO_AVS = 163 const DLT_LINUX_SLL = 113 const DLT_LOOP = 108 const DLT_NULL = 0 const DLT_PFLOG = 117 const DLT_PFSYNC = 18 const DLT_PPP = 9 const DLT_PPP_BSDOS = 16 const DLT_PPP_SERIAL = 50 const DLT_PRONET = 4 const DLT_RAW = 12 const DLT_SLIP = 8 const DLT_SLIP_BSDOS = 15 const DT_BLK = 6 const DT_CHR = 2 const DT_DIR = 4 const DT_FIFO = 1 const DT_LNK = 10 const DT_REG = 8 const DT_SOCK = 12 const DT_UNKNOWN = 0 const DT_WHT = 14
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
const ECHO = 8 const ECHOCTL = 64 const ECHOE = 2 const ECHOK = 4 const ECHOKE = 1 const ECHONL = 16 const ECHOPRT = 32
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
const EV_ADD = 1 const EV_CLEAR = 32 const EV_DELETE = 2 const EV_DISABLE = 8 const EV_DISPATCH = 128 const EV_ENABLE = 4 const EV_EOF = 32768 const EV_ERROR = 16384 const EV_FLAG0 = 4096 const EV_FLAG1 = 8192 const EV_ONESHOT = 16 const EV_OOBAND = 8192 const EV_POLL = 4096 const EV_RECEIPT = 64 const EV_SYSFLAGS = 61440 const EVFILT_AIO = -3 const EVFILT_FS = -9 const EVFILT_MACHPORT = -8 const EVFILT_PROC = -5 const EVFILT_READ = -1 const EVFILT_SIGNAL = -6 const EVFILT_SYSCOUNT = 12 const EVFILT_THREADMARKER = 12 const EVFILT_TIMER = -7 const EVFILT_USER = -10 const EVFILT_VM = -12 const EVFILT_VNODE = -4 const EVFILT_WRITE = -2
Errors
Errors
const EXTA = 19200 const EXTB = 38400 const EXTPROC = 2048 const F_ADDFILESIGS = 61 const F_ADDSIGS = 59 const F_ALLOCATEALL = 4 const F_ALLOCATECONTIG = 2 const F_CHKCLEAN = 41 const F_DUPFD = 0 const F_DUPFD_CLOEXEC = 67 const F_FLUSH_DATA = 40 const F_FREEZE_FS = 53 const F_FULLFSYNC = 51 const F_GETFD = 1 const F_GETFL = 3 const F_GETLK = 7 const F_GETLKPID = 66 const F_GETNOSIGPIPE = 74 const F_GETOWN = 5 const F_GETPATH = 50 const F_GETPATH_MTMINFO = 71 const F_GETPROTECTIONCLASS = 63 const F_GLOBAL_NOCACHE = 55 const F_LOG2PHYS = 49 const F_LOG2PHYS_EXT = 65 const F_MARKDEPENDENCY = 60 const F_NOCACHE = 48 const F_NODIRECT = 62 const F_OK = 0 const F_PATHPKG_CHECK = 52 const F_PEOFPOSMODE = 3 const F_PREALLOCATE = 42 const F_RDADVISE = 44 const F_RDAHEAD = 45 const F_RDLCK = 1 const F_READBOOTSTRAP = 46 const F_SETBACKINGSTORE = 70 const F_SETFD = 2 const F_SETFL = 4 const F_SETLK = 8 const F_SETLKW = 9 const F_SETNOSIGPIPE = 73 const F_SETOWN = 6 const F_SETPROTECTIONCLASS = 64 const F_SETSIZE = 43 const F_THAW_FS = 54 const F_UNLCK = 2 const F_VOLPOSMODE = 4 const F_WRITEBOOTSTRAP = 47 const F_WRLCK = 3 const FD_CLOEXEC = 1 const FD_SETSIZE = 1024 const FLUSHO = 8388608 const HUPCL = 16384 const ICANON = 256 const ICMP6_FILTER = 18 const ICRNL = 256 const IEXTEN = 1024 const IFF_ALLMULTI = 512 const IFF_ALTPHYS = 16384 const IFF_BROADCAST = 2 const IFF_DEBUG = 4 const IFF_LINK0 = 4096 const IFF_LINK1 = 8192 const IFF_LINK2 = 16384 const IFF_LOOPBACK = 8 const IFF_MULTICAST = 32768 const IFF_NOARP = 128 const IFF_NOTRAILERS = 32 const IFF_OACTIVE = 1024 const IFF_POINTOPOINT = 16 const IFF_PROMISC = 256 const IFF_RUNNING = 64 const IFF_SIMPLEX = 2048 const IFF_UP = 1 const IFNAMSIZ = 16 const IFT_1822 = 2 const IFT_AAL5 = 49 const IFT_ARCNET = 35 const IFT_ARCNETPLUS = 36 const IFT_ATM = 37 const IFT_BRIDGE = 209 const IFT_CARP = 248 const IFT_CELLULAR = 255 const IFT_CEPT = 19 const IFT_DS3 = 30 const IFT_ENC = 244 const IFT_EON = 25 const IFT_ETHER = 6 const IFT_FAITH = 56 const IFT_FDDI = 15 const IFT_FRELAY = 32 const IFT_FRELAYDCE = 44 const IFT_GIF = 55 const IFT_HDH1822 = 3 const IFT_HIPPI = 47 const IFT_HSSI = 46 const IFT_HY = 14 const IFT_IEEE1394 = 144 const IFT_IEEE8023ADLAG = 136 const IFT_ISDNBASIC = 20 const IFT_ISDNPRIMARY = 21 const IFT_ISO88022LLC = 41 const IFT_ISO88023 = 7 const IFT_ISO88024 = 8 const IFT_ISO88025 = 9 const IFT_ISO88026 = 10 const IFT_L2VLAN = 135 const IFT_LAPB = 16 const IFT_LOCALTALK = 42 const IFT_LOOP = 24 const IFT_MIOX25 = 38 const IFT_MODEM = 48 const IFT_NSIP = 27 const IFT_OTHER = 1 const IFT_P10 = 12 const IFT_P80 = 13 const IFT_PARA = 34 const IFT_PDP = 255 const IFT_PFLOG = 245 const IFT_PFSYNC = 246 const IFT_PPP = 23 const IFT_PROPMUX = 54 const IFT_PROPVIRTUAL = 53 const IFT_PTPSERIAL = 22 const IFT_RS232 = 33 const IFT_SDLC = 17 const IFT_SIP = 31 const IFT_SLIP = 28 const IFT_SMDSDXI = 43 const IFT_SMDSICIP = 52 const IFT_SONET = 39 const IFT_SONETPATH = 50 const IFT_SONETVT = 51 const IFT_STARLAN = 11 const IFT_STF = 57 const IFT_T1 = 18 const IFT_ULTRA = 29 const IFT_V35 = 45 const IFT_X25 = 5 const IFT_X25DDN = 4 const IFT_X25PLE = 40 const IFT_XETHER = 26 const IGNBRK = 1 const IGNCR = 128 const IGNPAR = 4 const IMAXBEL = 8192 const ImplementsGetwd = true const IN_CLASSA_HOST = 16777215 const IN_CLASSA_MAX = 128 const IN_CLASSA_NET = 4278190080 const IN_CLASSA_NSHIFT = 24 const IN_CLASSB_HOST = 65535 const IN_CLASSB_MAX = 65536 const IN_CLASSB_NET = 4294901760 const IN_CLASSB_NSHIFT = 16 const IN_CLASSC_HOST = 255 const IN_CLASSC_NET = 4294967040 const IN_CLASSC_NSHIFT = 8 const IN_CLASSD_HOST = 268435455 const IN_CLASSD_NET = 4026531840 const IN_CLASSD_NSHIFT = 28 const IN_LINKLOCALNETNUM = 2851995648 const IN_LOOPBACKNET = 127 const INLCR = 64 const INPCK = 16 const IP_ADD_MEMBERSHIP = 12 const IP_ADD_SOURCE_MEMBERSHIP = 70 const IP_BLOCK_SOURCE = 72 const IP_BOUND_IF = 25 const IP_DEFAULT_MULTICAST_LOOP = 1 const IP_DEFAULT_MULTICAST_TTL = 1 const IP_DF = 16384 const IP_DROP_MEMBERSHIP = 13 const IP_DROP_SOURCE_MEMBERSHIP = 71 const IP_DUMMYNET_CONFIGURE = 60 const IP_DUMMYNET_DEL = 61 const IP_DUMMYNET_FLUSH = 62 const IP_DUMMYNET_GET = 64 const IP_FAITH = 22 const IP_FW_ADD = 40 const IP_FW_DEL = 41 const IP_FW_FLUSH = 42 const IP_FW_GET = 44 const IP_FW_RESETLOG = 45 const IP_FW_ZERO = 43 const IP_HDRINCL = 2 const IP_IPSEC_POLICY = 21 const IP_MAX_GROUP_SRC_FILTER = 512 const IP_MAX_MEMBERSHIPS = 4095 const IP_MAX_SOCK_MUTE_FILTER = 128 const IP_MAX_SOCK_SRC_FILTER = 128 const IP_MAXPACKET = 65535 const IP_MF = 8192 const IP_MIN_MEMBERSHIPS = 31 const IP_MSFILTER = 74 const IP_MSS = 576 const IP_MULTICAST_IF = 9 const IP_MULTICAST_IFINDEX = 66 const IP_MULTICAST_LOOP = 11 const IP_MULTICAST_TTL = 10 const IP_MULTICAST_VIF = 14 const IP_NAT__XXX = 55 const IP_OFFMASK = 8191 const IP_OLD_FW_ADD = 50 const IP_OLD_FW_DEL = 51 const IP_OLD_FW_FLUSH = 52 const IP_OLD_FW_GET = 54 const IP_OLD_FW_RESETLOG = 56 const IP_OLD_FW_ZERO = 53 const IP_OPTIONS = 1 const IP_PKTINFO = 26 const IP_PORTRANGE = 19 const IP_PORTRANGE_DEFAULT = 0 const IP_PORTRANGE_HIGH = 1 const IP_PORTRANGE_LOW = 2 const IP_RECVDSTADDR = 7 const IP_RECVIF = 20 const IP_RECVOPTS = 5 const IP_RECVPKTINFO = 26 const IP_RECVRETOPTS = 6 const IP_RECVTTL = 24 const IP_RETOPTS = 8 const IP_RF = 32768 const IP_RSVP_OFF = 16 const IP_RSVP_ON = 15 const IP_RSVP_VIF_OFF = 18 const IP_RSVP_VIF_ON = 17 const IP_STRIPHDR = 23 const IP_TOS = 3 const IP_TRAFFIC_MGT_BACKGROUND = 65 const IP_TTL = 4 const IP_UNBLOCK_SOURCE = 73 const IPPROTO_3PC = 34 const IPPROTO_ADFS = 68 const IPPROTO_AH = 51 const IPPROTO_AHIP = 61 const IPPROTO_APES = 99 const IPPROTO_ARGUS = 13 const IPPROTO_AX25 = 93 const IPPROTO_BHA = 49 const IPPROTO_BLT = 30 const IPPROTO_BRSATMON = 76 const IPPROTO_CFTP = 62 const IPPROTO_CHAOS = 16 const IPPROTO_CMTP = 38 const IPPROTO_CPHB = 73 const IPPROTO_CPNX = 72 const IPPROTO_DDP = 37 const IPPROTO_DGP = 86 const IPPROTO_DIVERT = 254 const IPPROTO_DONE = 257 const IPPROTO_DSTOPTS = 60 const IPPROTO_EGP = 8 const IPPROTO_EMCON = 14 const IPPROTO_ENCAP = 98 const IPPROTO_EON = 80 const IPPROTO_ESP = 50 const IPPROTO_ETHERIP = 97 const IPPROTO_FRAGMENT = 44 const IPPROTO_GGP = 3 const IPPROTO_GMTP = 100 const IPPROTO_GRE = 47 const IPPROTO_HELLO = 63 const IPPROTO_HMP = 20 const IPPROTO_HOPOPTS = 0 const IPPROTO_ICMP = 1 const IPPROTO_ICMPV6 = 58 const IPPROTO_IDP = 22 const IPPROTO_IDPR = 35 const IPPROTO_IDRP = 45 const IPPROTO_IGMP = 2 const IPPROTO_IGP = 85 const IPPROTO_IGRP = 88 const IPPROTO_IL = 40 const IPPROTO_INLSP = 52 const IPPROTO_INP = 32 const IPPROTO_IP = 0 const IPPROTO_IPCOMP = 108 const IPPROTO_IPCV = 71 const IPPROTO_IPEIP = 94 const IPPROTO_IPIP = 4 const IPPROTO_IPPC = 67 const IPPROTO_IPV4 = 4 const IPPROTO_IPV6 = 41 const IPPROTO_IRTP = 28 const IPPROTO_KRYPTOLAN = 65 const IPPROTO_LARP = 91 const IPPROTO_LEAF1 = 25 const IPPROTO_LEAF2 = 26 const IPPROTO_MAX = 256 const IPPROTO_MAXID = 52 const IPPROTO_MEAS = 19 const IPPROTO_MHRP = 48 const IPPROTO_MICP = 95 const IPPROTO_MTP = 92 const IPPROTO_MUX = 18 const IPPROTO_ND = 77 const IPPROTO_NHRP = 54 const IPPROTO_NONE = 59 const IPPROTO_NSP = 31 const IPPROTO_NVPII = 11 const IPPROTO_OSPFIGP = 89 const IPPROTO_PGM = 113 const IPPROTO_PIGP = 9 const IPPROTO_PIM = 103 const IPPROTO_PRM = 21 const IPPROTO_PUP = 12 const IPPROTO_PVP = 75 const IPPROTO_RAW = 255 const IPPROTO_RCCMON = 10 const IPPROTO_RDP = 27 const IPPROTO_ROUTING = 43 const IPPROTO_RSVP = 46 const IPPROTO_RVD = 66 const IPPROTO_SATEXPAK = 64 const IPPROTO_SATMON = 69 const IPPROTO_SCCSP = 96 const IPPROTO_SCTP = 132 const IPPROTO_SDRP = 42 const IPPROTO_SEP = 33 const IPPROTO_SRPC = 90 const IPPROTO_ST = 7 const IPPROTO_SVMTP = 82 const IPPROTO_SWIPE = 53 const IPPROTO_TCF = 87 const IPPROTO_TCP = 6 const IPPROTO_TP = 29 const IPPROTO_TPXX = 39 const IPPROTO_TRUNK1 = 23 const IPPROTO_TRUNK2 = 24 const IPPROTO_TTP = 84 const IPPROTO_UDP = 17 const IPPROTO_VINES = 83 const IPPROTO_VISA = 70 const IPPROTO_VMTP = 81 const IPPROTO_WBEXPAK = 79 const IPPROTO_WBMON = 78 const IPPROTO_WSN = 74 const IPPROTO_XNET = 15 const IPPROTO_XTP = 36 const IPV6_2292DSTOPTS = 23 const IPV6_2292HOPLIMIT = 20 const IPV6_2292HOPOPTS = 22 const IPV6_2292NEXTHOP = 21 const IPV6_2292PKTINFO = 19 const IPV6_2292PKTOPTIONS = 25 const IPV6_2292RTHDR = 24 const IPV6_BINDV6ONLY = 27 const IPV6_BOUND_IF = 125 const IPV6_CHECKSUM = 26 const IPV6_DEFAULT_MULTICAST_HOPS = 1 const IPV6_DEFAULT_MULTICAST_LOOP = 1 const IPV6_DEFHLIM = 64 const IPV6_FAITH = 29 const IPV6_FLOWINFO_MASK = 4294967055 const IPV6_FLOWLABEL_MASK = 4294905600 const IPV6_FRAGTTL = 120 const IPV6_FW_ADD = 30 const IPV6_FW_DEL = 31 const IPV6_FW_FLUSH = 32 const IPV6_FW_GET = 34 const IPV6_FW_ZERO = 33 const IPV6_HLIMDEC = 1 const IPV6_IPSEC_POLICY = 28 const IPV6_JOIN_GROUP = 12 const IPV6_LEAVE_GROUP = 13 const IPV6_MAX_GROUP_SRC_FILTER = 512 const IPV6_MAX_MEMBERSHIPS = 4095 const IPV6_MAX_SOCK_SRC_FILTER = 128 const IPV6_MAXHLIM = 255 const IPV6_MAXOPTHDR = 2048 const IPV6_MAXPACKET = 65535 const IPV6_MIN_MEMBERSHIPS = 31 const IPV6_MMTU = 1280 const IPV6_MULTICAST_HOPS = 10 const IPV6_MULTICAST_IF = 9 const IPV6_MULTICAST_LOOP = 11 const IPV6_PORTRANGE = 14 const IPV6_PORTRANGE_DEFAULT = 0 const IPV6_PORTRANGE_HIGH = 1 const IPV6_PORTRANGE_LOW = 2 const IPV6_RECVTCLASS = 35 const IPV6_RTHDR_LOOSE = 0 const IPV6_RTHDR_STRICT = 1 const IPV6_RTHDR_TYPE_0 = 0 const IPV6_SOCKOPT_RESERVED1 = 3 const IPV6_TCLASS = 36 const IPV6_UNICAST_HOPS = 4 const IPV6_V6ONLY = 27 const IPV6_VERSION = 96 const IPV6_VERSION_MASK = 240 const ISIG = 128 const ISTRIP = 32 const IUTF8 = 16384 const IXANY = 2048 const IXOFF = 1024 const IXON = 512 const LOCK_EX = 2 const LOCK_NB = 4 const LOCK_SH = 1 const LOCK_UN = 8 const MADV_CAN_REUSE = 9 const MADV_DONTNEED = 4 const MADV_FREE = 5 const MADV_FREE_REUSABLE = 7 const MADV_FREE_REUSE = 8 const MADV_NORMAL = 0 const MADV_RANDOM = 1 const MADV_SEQUENTIAL = 2 const MADV_WILLNEED = 3 const MADV_ZERO_WIRED_PAGES = 6 const MAP_ANON = 4096 const MAP_COPY = 2 const MAP_FILE = 0 const MAP_FIXED = 16 const MAP_HASSEMAPHORE = 512 const MAP_JIT = 2048 const MAP_NOCACHE = 1024 const MAP_NOEXTEND = 256 const MAP_NORESERVE = 64 const MAP_PRIVATE = 2 const MAP_RENAME = 32 const MAP_RESERVED0080 = 128 const MAP_SHARED = 1 const MCL_CURRENT = 1 const MCL_FUTURE = 2 const MS_ASYNC = 1 const MS_DEACTIVATE = 8 const MS_INVALIDATE = 2 const MS_KILLPAGES = 4 const MS_SYNC = 16 const MSG_CTRUNC = 32 const MSG_DONTROUTE = 4 const MSG_DONTWAIT = 128 const MSG_EOF = 256 const MSG_EOR = 8 const MSG_FLUSH = 1024 const MSG_HAVEMORE = 8192 const MSG_HOLD = 2048 const MSG_NEEDSA = 65536 const MSG_OOB = 1 const MSG_PEEK = 2 const MSG_RCVMORE = 16384 const MSG_SEND = 4096 const MSG_TRUNC = 16 const MSG_WAITALL = 64 const MSG_WAITSTREAM = 512 const NAME_MAX = 255 const NET_RT_DUMP = 1 const NET_RT_DUMP2 = 7 const NET_RT_FLAGS = 2 const NET_RT_IFLIST = 3 const NET_RT_IFLIST2 = 6 const NET_RT_MAXID = 10 const NET_RT_STAT = 4 const NET_RT_TRASH = 5 const NOFLSH = 2147483648 const NOTE_ABSOLUTE = 8 const NOTE_ATTRIB = 8 const NOTE_CHILD = 4 const NOTE_DELETE = 1 const NOTE_EXEC = 536870912 const NOTE_EXIT = 2147483648 const NOTE_EXITSTATUS = 67108864 const NOTE_EXTEND = 4 const NOTE_FFAND = 1073741824 const NOTE_FFCOPY = 3221225472 const NOTE_FFCTRLMASK = 3221225472 const NOTE_FFLAGSMASK = 16777215 const NOTE_FFNOP = 0 const NOTE_FFOR = 2147483648 const NOTE_FORK = 1073741824 const NOTE_LINK = 16 const NOTE_LOWAT = 1 const NOTE_NONE = 128 const NOTE_NSECONDS = 4 const NOTE_PCTRLMASK = -1048576 const NOTE_PDATAMASK = 1048575 const NOTE_REAP = 268435456 const NOTE_RENAME = 32 const NOTE_RESOURCEEND = 33554432 const NOTE_REVOKE = 64 const NOTE_SECONDS = 1 const NOTE_SIGNAL = 134217728 const NOTE_TRACK = 1 const NOTE_TRACKERR = 2 const NOTE_TRIGGER = 16777216 const NOTE_USECONDS = 2 const NOTE_VM_ERROR = 268435456 const NOTE_VM_PRESSURE = 2147483648 const NOTE_VM_PRESSURE_SUDDEN_TERMINATE = 536870912 const NOTE_VM_PRESSURE_TERMINATE = 1073741824 const NOTE_WRITE = 2 const O_ACCMODE = 3 const O_ALERT = 536870912 const O_APPEND = 8 const O_ASYNC = 64 const O_CLOEXEC = 16777216 const O_CREAT = 512 const O_DIRECTORY = 1048576 const O_DSYNC = 4194304 const O_EVTONLY = 32768 const O_EXCL = 2048 const O_EXLOCK = 32 const O_FSYNC = 128 const O_NDELAY = 4 const O_NOCTTY = 131072 const O_NOFOLLOW = 256 const O_NONBLOCK = 4 const O_POPUP = 2147483648 const O_RDONLY = 0 const O_RDWR = 2 const O_SHLOCK = 16 const O_SYMLINK = 2097152 const O_SYNC = 128 const O_TRUNC = 1024 const O_WRONLY = 1 const OCRNL = 16 const OFDEL = 131072 const OFILL = 128 const ONLCR = 2 const ONLRET = 64 const ONOCR = 32 const ONOEOT = 8 const OPOST = 1 const PARENB = 4096 const PARMRK = 8 const PARODD = 8192 const PENDIN = 536870912 const PRIO_PGRP = 1 const PRIO_PROCESS = 0 const PRIO_USER = 2 const PROT_EXEC = 4 const PROT_NONE = 0 const PROT_READ = 1 const PROT_WRITE = 2 const PT_ATTACH = 10 const PT_ATTACHEXC = 14 const PT_CONTINUE = 7 const PT_DENY_ATTACH = 31 const PT_DETACH = 11 const PT_FIRSTMACH = 32 const PT_FORCEQUOTA = 30 const PT_KILL = 8 const PT_READ_D = 2 const PT_READ_I = 1 const PT_READ_U = 3 const PT_SIGEXC = 12 const PT_STEP = 9 const PT_THUPDATE = 13 const PT_TRACE_ME = 0 const PT_WRITE_D = 5 const PT_WRITE_I = 4 const PT_WRITE_U = 6 const PTRACE_CONT = 7 const PTRACE_KILL = 8 const PTRACE_TRACEME = 0 const RLIM_INFINITY = 9223372036854775807 const RLIMIT_AS = 5 const RLIMIT_CORE = 4 const RLIMIT_CPU = 0 const RLIMIT_DATA = 2 const RLIMIT_FSIZE = 1 const RLIMIT_NOFILE = 8 const RLIMIT_STACK = 3 const RTA_AUTHOR = 64 const RTA_BRD = 128 const RTA_DST = 1 const RTA_GATEWAY = 2 const RTA_GENMASK = 8 const RTA_IFA = 32 const RTA_IFP = 16 const RTA_NETMASK = 4 const RTAX_AUTHOR = 6 const RTAX_BRD = 7 const RTAX_DST = 0 const RTAX_GATEWAY = 1 const RTAX_GENMASK = 3 const RTAX_IFA = 5 const RTAX_IFP = 4 const RTAX_MAX = 8 const RTAX_NETMASK = 2 const RTF_BLACKHOLE = 4096 const RTF_BROADCAST = 4194304 const RTF_CLONING = 256 const RTF_CONDEMNED = 33554432 const RTF_DELCLONE = 128 const RTF_DONE = 64 const RTF_DYNAMIC = 16 const RTF_GATEWAY = 2 const RTF_HOST = 4 const RTF_IFREF = 67108864 const RTF_IFSCOPE = 16777216 const RTF_LLINFO = 1024 const RTF_LOCAL = 2097152 const RTF_MODIFIED = 32 const RTF_MULTICAST = 8388608 const RTF_PINNED = 1048576 const RTF_PRCLONING = 65536 const RTF_PROTO1 = 32768 const RTF_PROTO2 = 16384 const RTF_PROTO3 = 262144 const RTF_REJECT = 8 const RTF_STATIC = 2048 const RTF_UP = 1 const RTF_WASCLONED = 131072 const RTF_XRESOLVE = 512 const RTM_ADD = 1 const RTM_CHANGE = 3 const RTM_DELADDR = 13 const RTM_DELETE = 2 const RTM_DELMADDR = 16 const RTM_GET = 4 const RTM_GET2 = 20 const RTM_IFINFO = 14 const RTM_IFINFO2 = 18 const RTM_LOCK = 8 const RTM_LOSING = 5 const RTM_MISS = 7 const RTM_NEWADDR = 12 const RTM_NEWMADDR = 15 const RTM_NEWMADDR2 = 19 const RTM_OLDADD = 9 const RTM_OLDDEL = 10 const RTM_REDIRECT = 6 const RTM_RESOLVE = 11 const RTM_RTTUNIT = 1000000 const RTM_VERSION = 5 const RTV_EXPIRE = 4 const RTV_HOPCOUNT = 2 const RTV_MTU = 1 const RTV_RPIPE = 8 const RTV_RTT = 64 const RTV_RTTVAR = 128 const RTV_SPIPE = 16 const RTV_SSTHRESH = 32 const RUSAGE_CHILDREN = -1 const RUSAGE_SELF = 0 const S_IEXEC = 64 const S_IFBLK = 24576 const S_IFCHR = 8192 const S_IFDIR = 16384 const S_IFIFO = 4096 const S_IFLNK = 40960 const S_IFMT = 61440 const S_IFREG = 32768 const S_IFSOCK = 49152 const S_IFWHT = 57344 const S_IREAD = 256 const S_IRGRP = 32 const S_IROTH = 4 const S_IRUSR = 256 const S_IRWXG = 56 const S_IRWXO = 7 const S_IRWXU = 448 const S_ISGID = 1024 const S_ISTXT = 512 const S_ISUID = 2048 const S_ISVTX = 512 const S_IWGRP = 16 const S_IWOTH = 2 const S_IWRITE = 128 const S_IWUSR = 128 const S_IXGRP = 8 const S_IXOTH = 1 const S_IXUSR = 64 const SCM_CREDS = 3 const SCM_RIGHTS = 1 const SCM_TIMESTAMP = 2 const SCM_TIMESTAMP_MONOTONIC = 4 const SHUT_RD = 0 const SHUT_RDWR = 2 const SHUT_WR = 1
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
const SIOCADDMULTI = 2149607729 const SIOCAIFADDR = 2151704858 const SIOCALIFADDR = 2165860637 const SIOCARPIPLL = 3223349544 const SIOCATMARK = 1074033415 const SIOCAUTOADDR = 3223349542 const SIOCAUTONETMASK = 2149607719 const SIOCDELMULTI = 2149607730 const SIOCDIFADDR = 2149607705 const SIOCDIFPHYADDR = 2149607745 const SIOCDLIFADDR = 2165860639 const SIOCGDRVSPEC = 3223873915 const SIOCGETSGCNT = 3222565404 const SIOCGETVIFCNT = 3222565403 const SIOCGETVLAN = 3223349631 const SIOCGHIWAT = 1074033409 const SIOCGIFADDR = 3223349537 const SIOCGIFALTMTU = 3223349576 const SIOCGIFASYNCMAP = 3223349628 const SIOCGIFBOND = 3223349575 const SIOCGIFBRDADDR = 3223349539 const SIOCGIFCAP = 3223349595 const SIOCGIFCONF = 3222038820 const SIOCGIFDEVMTU = 3223349572 const SIOCGIFDSTADDR = 3223349538 const SIOCGIFFLAGS = 3223349521 const SIOCGIFGENERIC = 3223349562 const SIOCGIFKPI = 3223349639 const SIOCGIFMAC = 3223349634 const SIOCGIFMEDIA = 3224135992 const SIOCGIFMETRIC = 3223349527 const SIOCGIFMTU = 3223349555 const SIOCGIFNETMASK = 3223349541 const SIOCGIFPDSTADDR = 3223349568 const SIOCGIFPHYS = 3223349557 const SIOCGIFPSRCADDR = 3223349567 const SIOCGIFSTATUS = 3274795325 const SIOCGIFVLAN = 3223349631 const SIOCGIFWAKEFLAGS = 3223349640 const SIOCGLIFADDR = 3239602462 const SIOCGLIFPHYADDR = 3239602499 const SIOCGLOWAT = 1074033411 const SIOCGPGRP = 1074033417 const SIOCIFCREATE = 3223349624 const SIOCIFCREATE2 = 3223349626 const SIOCIFDESTROY = 2149607801 const SIOCRSLVMULTI = 3222300987 const SIOCSDRVSPEC = 2150132091 const SIOCSETVLAN = 2149607806 const SIOCSHIWAT = 2147775232 const SIOCSIFADDR = 2149607692 const SIOCSIFALTMTU = 2149607749 const SIOCSIFASYNCMAP = 2149607805 const SIOCSIFBOND = 2149607750 const SIOCSIFBRDADDR = 2149607699 const SIOCSIFCAP = 2149607770 const SIOCSIFDSTADDR = 2149607694 const SIOCSIFFLAGS = 2149607696 const SIOCSIFGENERIC = 2149607737 const SIOCSIFKPI = 2149607814 const SIOCSIFLLADDR = 2149607740 const SIOCSIFMAC = 2149607811 const SIOCSIFMEDIA = 3223349559 const SIOCSIFMETRIC = 2149607704 const SIOCSIFMTU = 2149607732 const SIOCSIFNETMASK = 2149607702 const SIOCSIFPHYADDR = 2151704894 const SIOCSIFPHYS = 2149607734 const SIOCSIFVLAN = 2149607806 const SIOCSLIFPHYADDR = 2165860674 const SIOCSLOWAT = 2147775234 const SIOCSPGRP = 2147775240 const SizeofBpfHdr = 20 const SizeofBpfInsn = 8 const SizeofBpfProgram = 16 const SizeofBpfStat = 8 const SizeofBpfVersion = 4 const SizeofCmsghdr = 12 const SizeofICMPv6Filter = 32 const SizeofIfaMsghdr = 20 const SizeofIfData = 96 const SizeofIfmaMsghdr = 16 const SizeofIfmaMsghdr2 = 20 const SizeofIfMsghdr = 112 const SizeofInet4Pktinfo = 12 const SizeofInet6Pktinfo = 20 const SizeofIPMreq = 8 const SizeofIPv6Mreq = 20 const SizeofIPv6MTUInfo = 32 const SizeofLinger = 8 const SizeofMsghdr = 48 const SizeofRtMetrics = 56 const SizeofRtMsghdr = 92 const SizeofSockaddrAny = 108 const SizeofSockaddrDatalink = 20 const SizeofSockaddrInet4 = 16 const SizeofSockaddrInet6 = 28 const SizeofSockaddrUnix = 106 const SO_ACCEPTCONN = 2 const SO_BROADCAST = 32 const SO_DEBUG = 1 const SO_DONTROUTE = 16 const SO_DONTTRUNC = 8192 const SO_ERROR = 4103 const SO_KEEPALIVE = 8 const SO_LABEL = 4112 const SO_LINGER = 128 const SO_LINGER_SEC = 4224 const SO_NKE = 4129 const SO_NOADDRERR = 4131 const SO_NOSIGPIPE = 4130 const SO_NOTIFYCONFLICT = 4134 const SO_NP_EXTENSIONS = 4227 const SO_NREAD = 4128 const SO_NWRITE = 4132 const SO_OOBINLINE = 256 const SO_PEERLABEL = 4113 const SO_RANDOMPORT = 4226 const SO_RCVBUF = 4098 const SO_RCVLOWAT = 4100 const SO_RCVTIMEO = 4102 const SO_RESTRICT_DENYIN = 1 const SO_RESTRICT_DENYOUT = 2 const SO_RESTRICT_DENYSET = 2147483648 const SO_RESTRICTIONS = 4225 const SO_REUSEADDR = 4 const SO_REUSEPORT = 512 const SO_REUSESHAREUID = 4133 const SO_SNDBUF = 4097 const SO_SNDLOWAT = 4099 const SO_SNDTIMEO = 4101 const SO_TIMESTAMP = 1024 const SO_TIMESTAMP_MONOTONIC = 2048 const SO_TYPE = 4104 const SO_UPCALLCLOSEWAIT = 4135 const SO_USELOOPBACK = 64 const SO_WANTMORE = 16384 const SO_WANTOOBFLAG = 32768 const SOCK_DGRAM = 2 const SOCK_MAXADDRLEN = 255 const SOCK_RAW = 3 const SOCK_RDM = 4 const SOCK_SEQPACKET = 5 const SOCK_STREAM = 1 const SOL_SOCKET = 65535 const SOMAXCONN = 128 const SYS___DISABLE_THREADSIGNAL = 331 const SYS___MAC_EXECVE = 380 const SYS___MAC_GET_FD = 388 const SYS___MAC_GET_FILE = 382 const SYS___MAC_GET_LCID = 391 const SYS___MAC_GET_LCTX = 392 const SYS___MAC_GET_LINK = 384 const SYS___MAC_GET_MOUNT = 425 const SYS___MAC_GET_PID = 390 const SYS___MAC_GET_PROC = 386 const SYS___MAC_GETFSSTAT = 426 const SYS___MAC_MOUNT = 424 const SYS___MAC_SET_FD = 389 const SYS___MAC_SET_FILE = 383 const SYS___MAC_SET_LCTX = 393 const SYS___MAC_SET_LINK = 385 const SYS___MAC_SET_PROC = 387 const SYS___MAC_SYSCALL = 381 const SYS___OLD_SEMWAIT_SIGNAL = 370 const SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371 const SYS___PTHREAD_CANCELED = 333 const SYS___PTHREAD_CHDIR = 348 const SYS___PTHREAD_FCHDIR = 349 const SYS___PTHREAD_KILL = 328 const SYS___PTHREAD_MARKCANCEL = 332 const SYS___PTHREAD_SIGMASK = 329 const SYS___SEMWAIT_SIGNAL = 334 const SYS___SEMWAIT_SIGNAL_NOCANCEL = 423 const SYS___SIGWAIT = 330 const SYS___SIGWAIT_NOCANCEL = 422 const SYS___SYSCTL = 202 const SYS_ACCEPT = 30 const SYS_ACCEPT_NOCANCEL = 404 const SYS_ACCESS = 33 const SYS_ACCESS_EXTENDED = 284 const SYS_ACCT = 51 const SYS_ADD_PROFIL = 176 const SYS_ADJTIME = 140 const SYS_AIO_CANCEL = 316 const SYS_AIO_ERROR = 317 const SYS_AIO_FSYNC = 313 const SYS_AIO_READ = 318 const SYS_AIO_RETURN = 314 const SYS_AIO_SUSPEND = 315 const SYS_AIO_SUSPEND_NOCANCEL = 421 const SYS_AIO_WRITE = 319 const SYS_ATGETMSG = 207 const SYS_ATPGETREQ = 211 const SYS_ATPGETRSP = 212 const SYS_ATPSNDREQ = 209 const SYS_ATPSNDRSP = 210 const SYS_ATPUTMSG = 208 const SYS_ATSOCKET = 206 const SYS_AUDIT = 350 const SYS_AUDIT_SESSION_JOIN = 429 const SYS_AUDIT_SESSION_PORT = 432 const SYS_AUDIT_SESSION_SELF = 428 const SYS_AUDITCTL = 359 const SYS_AUDITON = 351 const SYS_BIND = 104 const SYS_BSDTHREAD_CREATE = 360 const SYS_BSDTHREAD_REGISTER = 366 const SYS_BSDTHREAD_TERMINATE = 361 const SYS_CHDIR = 12 const SYS_CHFLAGS = 34 const SYS_CHMOD = 15 const SYS_CHMOD_EXTENDED = 282 const SYS_CHOWN = 16 const SYS_CHROOT = 61 const SYS_CHUD = 185 const SYS_CLOSE = 6 const SYS_CLOSE_NOCANCEL = 399 const SYS_CONNECT = 98 const SYS_CONNECT_NOCANCEL = 409 const SYS_COPYFILE = 227 const SYS_CSOPS = 169 const SYS_DELETE = 226 const SYS_DUP = 41 const SYS_DUP2 = 90 const SYS_EXCHANGEDATA = 223 const SYS_EXECVE = 59 const SYS_EXIT = 1 const SYS_FCHDIR = 13 const SYS_FCHFLAGS = 35 const SYS_FCHMOD = 124 const SYS_FCHMOD_EXTENDED = 283 const SYS_FCHOWN = 123 const SYS_FCNTL = 92 const SYS_FCNTL_NOCANCEL = 406 const SYS_FDATASYNC = 187 const SYS_FFSCTL = 245 const SYS_FGETATTRLIST = 228 const SYS_FGETXATTR = 235 const SYS_FHOPEN = 248 const SYS_FILEPORT_MAKEFD = 431 const SYS_FILEPORT_MAKEPORT = 430 const SYS_FLISTXATTR = 241 const SYS_FLOCK = 131 const SYS_FORK = 2 const SYS_FPATHCONF = 192 const SYS_FREMOVEXATTR = 239 const SYS_FSCTL = 242 const SYS_FSETATTRLIST = 229 const SYS_FSETXATTR = 237 const SYS_FSGETPATH = 427 const SYS_FSTAT = 189 const SYS_FSTAT64 = 339 const SYS_FSTAT64_EXTENDED = 343 const SYS_FSTAT_EXTENDED = 281 const SYS_FSTATFS = 158 const SYS_FSTATFS64 = 346 const SYS_FSTATV = 219 const SYS_FSYNC = 95 const SYS_FSYNC_NOCANCEL = 408 const SYS_FTRUNCATE = 201 const SYS_FUTIMES = 139 const SYS_GETATTRLIST = 220 const SYS_GETAUDIT = 355 const SYS_GETAUDIT_ADDR = 357 const SYS_GETAUID = 353 const SYS_GETDIRENTRIES = 196 const SYS_GETDIRENTRIES64 = 344 const SYS_GETDIRENTRIESATTR = 222 const SYS_GETDTABLESIZE = 89 const SYS_GETEGID = 43 const SYS_GETEUID = 25 const SYS_GETFH = 161 const SYS_GETFSSTAT = 18 const SYS_GETFSSTAT64 = 347 const SYS_GETGID = 47 const SYS_GETGROUPS = 79 const SYS_GETHOSTUUID = 142 const SYS_GETITIMER = 86 const SYS_GETLCID = 395 const SYS_GETLOGIN = 49 const SYS_GETPEERNAME = 31 const SYS_GETPGID = 151 const SYS_GETPGRP = 81 const SYS_GETPID = 20 const SYS_GETPPID = 39 const SYS_GETPRIORITY = 100 const SYS_GETRLIMIT = 194 const SYS_GETRUSAGE = 117 const SYS_GETSGROUPS = 288 const SYS_GETSID = 310 const SYS_GETSOCKNAME = 32 const SYS_GETSOCKOPT = 118 const SYS_GETTID = 286 const SYS_GETTIMEOFDAY = 116 const SYS_GETUID = 24 const SYS_GETWGROUPS = 290 const SYS_GETXATTR = 234 const SYS_IDENTITYSVC = 293 const SYS_INITGROUPS = 243 const SYS_IOCTL = 54 const SYS_IOPOLICYSYS = 322 const SYS_ISSETUGID = 327 const SYS_KDEBUG_TRACE = 180 const SYS_KEVENT = 363 const SYS_KEVENT64 = 369 const SYS_KILL = 37 const SYS_KQUEUE = 362 const SYS_LCHOWN = 364 const SYS_LINK = 9 const SYS_LIO_LISTIO = 320 const SYS_LISTEN = 106 const SYS_LISTXATTR = 240 const SYS_LSEEK = 199 const SYS_LSTAT = 190 const SYS_LSTAT64 = 340 const SYS_LSTAT64_EXTENDED = 342 const SYS_LSTAT_EXTENDED = 280 const SYS_LSTATV = 218 const SYS_MADVISE = 75 const SYS_MAXSYSCALL = 439 const SYS_MINCORE = 78 const SYS_MINHERIT = 250 const SYS_MKCOMPLEX = 216 const SYS_MKDIR = 136 const SYS_MKDIR_EXTENDED = 292 const SYS_MKFIFO = 132 const SYS_MKFIFO_EXTENDED = 291 const SYS_MKNOD = 14 const SYS_MLOCK = 203 const SYS_MLOCKALL = 324 const SYS_MMAP = 197 const SYS_MODWATCH = 233 const SYS_MOUNT = 167 const SYS_MPROTECT = 74 const SYS_MSGCTL = 258 const SYS_MSGGET = 259 const SYS_MSGRCV = 261 const SYS_MSGRCV_NOCANCEL = 419 const SYS_MSGSND = 260 const SYS_MSGSND_NOCANCEL = 418 const SYS_MSGSYS = 252 const SYS_MSYNC = 65 const SYS_MSYNC_NOCANCEL = 405 const SYS_MUNLOCK = 204 const SYS_MUNLOCKALL = 325 const SYS_MUNMAP = 73 const SYS_NFSCLNT = 247 const SYS_NFSSVC = 155 const SYS_OPEN = 5 const SYS_OPEN_EXTENDED = 277 const SYS_OPEN_NOCANCEL = 398 const SYS_PATHCONF = 191 const SYS_PID_HIBERNATE = 435 const SYS_PID_RESUME = 434 const SYS_PID_SHUTDOWN_SOCKETS = 436 const SYS_PID_SUSPEND = 433 const SYS_PIPE = 42 const SYS_POLL = 230 const SYS_POLL_NOCANCEL = 417 const SYS_POSIX_SPAWN = 244 const SYS_PREAD = 153 const SYS_PREAD_NOCANCEL = 414 const SYS_PROC_INFO = 336 const SYS_PROCESS_POLICY = 323 const SYS_PROFIL = 44 const SYS_PSYNCH_CVBROAD = 303 const SYS_PSYNCH_CVCLRPREPOST = 312 const SYS_PSYNCH_CVSIGNAL = 304 const SYS_PSYNCH_CVWAIT = 305 const SYS_PSYNCH_MUTEXDROP = 302 const SYS_PSYNCH_MUTEXWAIT = 301 const SYS_PSYNCH_RW_DOWNGRADE = 299 const SYS_PSYNCH_RW_LONGRDLOCK = 297 const SYS_PSYNCH_RW_RDLOCK = 306 const SYS_PSYNCH_RW_UNLOCK = 308 const SYS_PSYNCH_RW_UNLOCK2 = 309 const SYS_PSYNCH_RW_UPGRADE = 300 const SYS_PSYNCH_RW_WRLOCK = 307 const SYS_PSYNCH_RW_YIELDWRLOCK = 298 const SYS_PTRACE = 26 const SYS_PWRITE = 154 const SYS_PWRITE_NOCANCEL = 415 const SYS_QUOTACTL = 165 const SYS_READ = 3 const SYS_READ_NOCANCEL = 396 const SYS_READLINK = 58 const SYS_READV = 120 const SYS_READV_NOCANCEL = 411 const SYS_REBOOT = 55 const SYS_RECVFROM = 29 const SYS_RECVFROM_NOCANCEL = 403 const SYS_RECVMSG = 27 const SYS_RECVMSG_NOCANCEL = 401 const SYS_REMOVEXATTR = 238 const SYS_RENAME = 128 const SYS_REVOKE = 56 const SYS_RMDIR = 137 const SYS_SEARCHFS = 225 const SYS_SELECT = 93 const SYS_SELECT_NOCANCEL = 407 const SYS_SEM_CLOSE = 269 const SYS_SEM_DESTROY = 276 const SYS_SEM_GETVALUE = 274 const SYS_SEM_INIT = 275 const SYS_SEM_OPEN = 268 const SYS_SEM_POST = 273 const SYS_SEM_TRYWAIT = 272 const SYS_SEM_UNLINK = 270 const SYS_SEM_WAIT = 271 const SYS_SEM_WAIT_NOCANCEL = 420 const SYS_SEMCTL = 254 const SYS_SEMGET = 255 const SYS_SEMOP = 256 const SYS_SEMSYS = 251 const SYS_SENDFILE = 337 const SYS_SENDMSG = 28 const SYS_SENDMSG_NOCANCEL = 402 const SYS_SENDTO = 133 const SYS_SENDTO_NOCANCEL = 413 const SYS_SETATTRLIST = 221 const SYS_SETAUDIT = 356 const SYS_SETAUDIT_ADDR = 358 const SYS_SETAUID = 354 const SYS_SETEGID = 182 const SYS_SETEUID = 183 const SYS_SETGID = 181 const SYS_SETGROUPS = 80 const SYS_SETITIMER = 83 const SYS_SETLCID = 394 const SYS_SETLOGIN = 50 const SYS_SETPGID = 82 const SYS_SETPRIORITY = 96 const SYS_SETPRIVEXEC = 152 const SYS_SETREGID = 127 const SYS_SETREUID = 126 const SYS_SETRLIMIT = 195 const SYS_SETSGROUPS = 287 const SYS_SETSID = 147 const SYS_SETSOCKOPT = 105 const SYS_SETTID = 285 const SYS_SETTID_WITH_PID = 311 const SYS_SETTIMEOFDAY = 122 const SYS_SETUID = 23 const SYS_SETWGROUPS = 289 const SYS_SETXATTR = 236 const SYS_SHARED_REGION_CHECK_NP = 294 const SYS_SHARED_REGION_MAP_AND_SLIDE_NP = 438 const SYS_SHM_OPEN = 266 const SYS_SHM_UNLINK = 267 const SYS_SHMAT = 262 const SYS_SHMCTL = 263 const SYS_SHMDT = 264 const SYS_SHMGET = 265 const SYS_SHMSYS = 253 const SYS_SHUTDOWN = 134 const SYS_SIGACTION = 46 const SYS_SIGALTSTACK = 53 const SYS_SIGPENDING = 52 const SYS_SIGPROCMASK = 48 const SYS_SIGRETURN = 184 const SYS_SIGSUSPEND = 111 const SYS_SIGSUSPEND_NOCANCEL = 410 const SYS_SOCKET = 97 const SYS_SOCKETPAIR = 135 const SYS_STACK_SNAPSHOT = 365 const SYS_STAT = 188 const SYS_STAT64 = 338 const SYS_STAT64_EXTENDED = 341 const SYS_STAT_EXTENDED = 279 const SYS_STATFS = 157 const SYS_STATFS64 = 345 const SYS_STATV = 217 const SYS_SWAPON = 85 const SYS_SYMLINK = 57 const SYS_SYNC = 36 const SYS_SYSCALL = 0 const SYS_THREAD_SELFID = 372 const SYS_TRUNCATE = 200 const SYS_UMASK = 60 const SYS_UMASK_EXTENDED = 278 const SYS_UNDELETE = 205 const SYS_UNLINK = 10 const SYS_UNMOUNT = 159 const SYS_UTIMES = 138 const SYS_VFORK = 66 const SYS_VM_PRESSURE_MONITOR = 296 const SYS_WAIT4 = 7 const SYS_WAIT4_NOCANCEL = 400 const SYS_WAITEVENT = 232 const SYS_WAITID = 173 const SYS_WAITID_NOCANCEL = 416 const SYS_WATCHEVENT = 231 const SYS_WORKQ_KERNRETURN = 368 const SYS_WORKQ_OPEN = 367 const SYS_WRITE = 4 const SYS_WRITE_NOCANCEL = 397 const SYS_WRITEV = 121 const SYS_WRITEV_NOCANCEL = 412 const TCIFLUSH = 1 const TCIOFLUSH = 3 const TCOFLUSH = 2 const TCP_CONNECTIONTIMEOUT = 32 const TCP_KEEPALIVE = 16 const TCP_MAX_SACK = 3 const TCP_MAX_WINSHIFT = 14 const TCP_MAXHLEN = 60 const TCP_MAXOLEN = 40 const TCP_MAXSEG = 2 const TCP_MAXWIN = 65535 const TCP_MINMSS = 216 const TCP_MINMSSOVERLOAD = 1000 const TCP_MSS = 512 const TCP_NODELAY = 1 const TCP_NOOPT = 8 const TCP_NOPUSH = 4 const TCP_RXT_CONNDROPTIME = 128 const TCP_RXT_FINDROP = 256 const TCSAFLUSH = 2 const TIOCCBRK = 536900730 const TIOCCDTR = 536900728 const TIOCCONS = 2147775586 const TIOCDCDTIMESTAMP = 1074820184 const TIOCDRAIN = 536900702 const TIOCDSIMICROCODE = 536900693 const TIOCEXCL = 536900621 const TIOCEXT = 2147775584 const TIOCFLUSH = 2147775504 const TIOCGDRAINWAIT = 1074033750 const TIOCGETA = 1078490131 const TIOCGETD = 1074033690 const TIOCGPGRP = 1074033783 const TIOCGWINSZ = 1074295912 const TIOCIXOFF = 536900736 const TIOCIXON = 536900737 const TIOCM_CAR = 64 const TIOCM_CD = 64 const TIOCM_CTS = 32 const TIOCM_DSR = 256 const TIOCM_DTR = 2 const TIOCM_LE = 1 const TIOCM_RI = 128 const TIOCM_RNG = 128 const TIOCM_RTS = 4 const TIOCM_SR = 16 const TIOCM_ST = 8 const TIOCMBIC = 2147775595 const TIOCMBIS = 2147775596 const TIOCMGDTRWAIT = 1074033754 const TIOCMGET = 1074033770 const TIOCMODG = 1074033667 const TIOCMODS = 2147775492 const TIOCMSDTRWAIT = 2147775579 const TIOCMSET = 2147775597 const TIOCNOTTY = 536900721 const TIOCNXCL = 536900622 const TIOCOUTQ = 1074033779 const TIOCPKT = 2147775600 const TIOCPKT_DATA = 0 const TIOCPKT_DOSTOP = 32 const TIOCPKT_FLUSHREAD = 1 const TIOCPKT_FLUSHWRITE = 2 const TIOCPKT_IOCTL = 64 const TIOCPKT_NOSTOP = 16 const TIOCPKT_START = 8 const TIOCPKT_STOP = 4 const TIOCPTYGNAME = 1082160211 const TIOCPTYGRANT = 536900692 const TIOCPTYUNLK = 536900690 const TIOCREMOTE = 2147775593 const TIOCSBRK = 536900731 const TIOCSCONS = 536900707 const TIOCSCTTY = 536900705 const TIOCSDRAINWAIT = 2147775575 const TIOCSDTR = 536900729 const TIOCSETA = 2152231956 const TIOCSETAF = 2152231958 const TIOCSETAW = 2152231957 const TIOCSETD = 2147775515 const TIOCSIG = 536900703 const TIOCSPGRP = 2147775606 const TIOCSTART = 536900718 const TIOCSTAT = 536900709 const TIOCSTI = 2147578994 const TIOCSTOP = 536900719 const TIOCSWINSZ = 2148037735 const TIOCTIMESTAMP = 1074820185 const TIOCUCNTL = 2147775590 const TOSTOP = 4194304 const VDISCARD = 15 const VDSUSP = 11 const VEOF = 0 const VEOL = 1 const VEOL2 = 2 const VERASE = 3 const VINTR = 8 const VKILL = 5 const VLNEXT = 14 const VMIN = 16 const VQUIT = 9 const VREPRINT = 6 const VSTART = 12 const VSTATUS = 18 const VSTOP = 13 const VSUSP = 10 const VT0 = 0 const VT1 = 65536 const VTDLY = 65536 const VTIME = 17 const VWERASE = 4 const WCONTINUED = 16 const WCOREFLAG = 128 const WEXITED = 4 const WNOHANG = 1 const WNOWAIT = 32 const WORDSIZE = 64 const WSTOPPED = 8 const WUNTRACED = 2
The pages are generated with Golds v0.4.2. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |