package unix

Import Path
	golang.org/x/sys/unix (on go.dev)

Dependency Relation
	imports 10 packages, and imported by 3 packages

Involved Source Files aliases.go constants.go dev_darwin.go dirent.go endian_little.go env_unix.go fcntl_darwin.go fdset.go ioctl.go pagesize_unix.go ptrace_darwin.go race0.go readdirent_getdirentries.go sockcmsg_unix.go sockcmsg_unix_other.go str.go Package unix contains an interface to the low-level operating system primitives. OS details vary depending on the underlying system, and by default, godoc will display OS-specific documentation for the current system. If you want godoc to display OS 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 this package 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 represents an operating system error describing the failure and holds a value of type syscall.Errno. syscall_bsd.go syscall_darwin.1_13.go syscall_darwin.go syscall_darwin_amd64.go syscall_darwin_libSystem.go syscall_unix.go syscall_unix_gc.go timestruct.go zerrors_darwin_amd64.go zsyscall_darwin_amd64.1_13.go zsyscall_darwin_amd64.go zsysnum_darwin_amd64.go ztypes_darwin_amd64.go asm_bsd_amd64.s zsyscall_darwin_amd64.1_13.s zsyscall_darwin_amd64.s
Code Examples package main import ( "golang.org/x/sys/unix" "log" "os" ) func main() { err := unix.Exec("/bin/ls", []string{"ls", "-al"}, os.Environ()) log.Fatal(err) } package main import ( "golang.org/x/sys/unix" "log" "os" ) func main() { f, _ := os.Create("example.lock") if err := unix.Flock(int(f.Fd()), unix.LOCK_EX); err != nil { log.Fatal(err) } // Do work here that requires the lock. When finished, release the lock: if err := unix.Flock(int(f.Fd()), unix.LOCK_UN); err != nil { log.Fatal(err) } }
Package-Level Type Names (total 80, in which 72 are exported)
/* sort exporteds by: | */
Caplen uint32 Datalen uint32 Hdrlen uint16 Tstamp Timeval32
Code uint16 Jf uint8 Jt uint8 K uint32
Insns *BpfInsn Len uint32
Drop uint32 Recv uint32
Major uint16 Minor uint16
Hz int32 Profhz int32 Stathz int32 Tick int32 Tickadj int32 func SysctlClockinfo(name string) (*Clockinfo, error)
Len uint32 Level int32 Type int32 (*T) SetLen(length int)
Id uint32 Name [96]byte func IoctlCtlInfo(fd int, ctlInfo *CtlInfo) error
Ino uint64 Name [1024]int8 Namlen uint16 Reclen uint16 Seekoff uint64 Type uint8
type Errno = syscall.Errno (basic type)
Buffer *byte Length uint64 Offset int64
Bits [32]int32 Clear removes fd from the set fds. IsSet returns whether fd is in the set fds. Set adds fd to the set fds. Zero clears the set fds. func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
Len int64 Pid int32 Start int64 Type int16 Whence int16 func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error
Val [2]int32
Bytesalloc int64 Flags uint32 Length int64 Offset int64 Posmode int32 func FcntlFstore(fd uintptr, cmd int, fstore *Fstore_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 Type uint8 Version uint8
Addrs int32 Flags int32 Index uint16 Msglen uint16 Type uint8 Version uint8
Addrs int32 Flags int32 Index uint16 Msglen uint16 Refcount int32 Type uint8 Version uint8
Addrs int32 Data IfData Flags int32 Index uint16 Msglen uint16 Type uint8 Version uint8
IfreqMTU is struct ifreq used to get or set a network device's MTU. MTU int32 Name [16]byte func IoctlGetIfreqMTU(fd int, ifname string) (*IfreqMTU, error) func IoctlSetIfreqMTU(fd int, ifreq *IfreqMTU) error
// in_addr Ifindex uint32 // in_addr
// in6_addr Ifindex uint32
Base *byte Len uint64 (*T) SetLen(length int)
// in_addr // in_addr func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error)
// in_addr Ifindex int32 // in_addr func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error)
Interface uint32 // in6_addr func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error)
Addr RawSockaddrInet6 Mtu uint32 func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error)
Interval Timeval Value Timeval
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)
Eproc Eproc Proc ExternProc func SysctlKinfoProcSlice(name string) ([]KinfoProc, error)
Linger int32 Onoff int32 func GetsockoptLinger(fd, level, opt int) (*Linger, error) func SetsockoptLinger(fd, level, opt int, l *Linger) (err error)
Flags uint32
Control *byte Controllen uint32 Flags int32 Iov *Iovec Iovlen int32 Name *byte Namelen uint32 (*T) SetControllen(length int) (*T) SetIovlen(length int)
P_refcnt int32 P_rgid uint32 P_ruid uint32 P_svgid uint32 P_svuid uint32 Pc_lock [72]int8 Pc_ucred uintptr
Events int16 Fd int32 Revents int16 func Poll(fds []PollFd, timeout int) (n int, err error)
Count int32 Offset int64
Data [14]int8 Family uint8 Len uint8
Addr RawSockaddr Pad [92]int8
Sc_family uint8 Sc_id uint32 Sc_len uint8 Sc_reserved [5]uint32 Sc_unit uint32 Ss_sysaddr uint16
// in_addr Family uint8 Len uint8 Port uint16 Zero [8]int8
// in6_addr Family uint8 Flowinfo uint32 Len uint8 Port uint16 Scope_id uint32
Family uint8 Len uint8 Path [104]int8
Cur uint64 Max uint64 func Getrlimit(which int, lim *Rlimit) (err error) func Setrlimit(which int, lim *Rlimit) (err error)
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)
type Signal = syscall.Signal (basic type)
Sockaddr represents a socket address. *SockaddrCtl *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 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 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)
SockaddrCtl implements the Sockaddr interface for AF_SYSTEM type sockets. ID uint32 Unit uint32 *T : Sockaddr
SockaddrInet4 implements the Sockaddr interface for AF_INET type sockets. Addr [4]byte Port int *T : Sockaddr
SockaddrInet6 implements the Sockaddr interface for AF_INET6 type sockets. Addr [16]byte Port int ZoneId uint32 *T : Sockaddr
SockaddrUnix implements the Sockaddr interface for AF_UNIX type sockets. Name string *T : Sockaddr
SocketControlMessage represents a socket control message. Data []byte Header Cmsghdr func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) func ParseUnixRights(m *SocketControlMessage) ([]int, error)
Atim Timespec Blksize int32 Blocks int64 Btim Timespec Ctim Timespec Dev int32 Flags uint32 Gen uint32 Gid uint32 Ino uint64 Lspare int32 Mode uint16 Mtim Timespec Nlink uint16 Qspare [2]int64 Rdev int32 Size int64 Uid uint32 func Fstat(fd int, stat *Stat_t) (err error) func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) func Lstat(path string, stat *Stat_t) (err error) func Stat(path string, stat *Stat_t) (err error)
Bavail uint64 Bfree uint64 Blocks uint64 Bsize uint32 Ffree uint64 Files uint64 Flags uint32 Flags_ext uint32 Fsid Fsid Fssubtype uint32 Fstypename [16]byte Iosize int32 Mntfromname [1024]byte Mntonname [1024]byte Owner uint32 Reserved [7]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)
Cc [20]uint8 Cflag uint64 Iflag uint64 Ispeed uint64 Lflag uint64 Oflag uint64 Ospeed uint64 func IoctlGetTermios(fd int, req uint) (*Termios, error) func IoctlSetTermios(fd int, req uint, value *Termios) error
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 TimeToTimespec(t time.Time) (Timespec, error) func ClockGettime(clockid int32, time *Timespec) (err error) 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 UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error
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 GetsockoptTimeval(fd, level, opt int) (*Timeval, error) func NsecToTimeval(nsec int64) Timeval func SysctlTimeval(name string) (*Timeval, error) func Adjtime(delta *Timeval, olddelta *Timeval) (err error) func Adjtime(delta *Timeval, olddelta *Timeval) (err error) func Futimes(fd int, tv []Timeval) error func Gettimeofday(tp *Timeval) (err error) func Lutimes(path string, tv []Timeval) error func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err 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) error
Sec int32 Usec int32
Groups [16]uint32 Ngroups int16 Ref int32 Uid uint32
Machine [256]byte Nodename [256]byte Release [256]byte Sysname [256]byte Version [256]byte func Uname(uname *Utsname) error
Dummy int32 Dummy2 *int8 Dummy3 [5]int32 Dummy4 [3]*int8
( T) Continued() bool ( T) CoreDump() bool ( T) ExitStatus() int ( T) Exited() bool ( T) Killed() bool ( T) Signal() syscall.Signal ( T) Signaled() bool ( T) StopSignal() syscall.Signal ( T) Stopped() bool ( T) TrapCause() int func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error)
Col uint16 Row uint16 Xpixel uint16 Ypixel uint16 func IoctlGetWinsize(fd int, req uint) (*Winsize, error) func IoctlSetWinsize(fd int, req uint, value *Winsize) error
Groups [16]uint32 Ngroups int16 Uid uint32 Version uint32 func GetsockoptXucred(fd, level, opt int) (*Xucred, error)
Package-Level Functions (total 310, in which 231 are exported)
func Accept(fd int) (nfd int, sa Sockaddr, err error)
func Access(path string, mode uint32) (err error)
func Adjtime(delta *Timeval, olddelta *Timeval) (err error)
func Bind(fd int, sa Sockaddr) (err error)
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).
BytePtrToString takes a pointer to a sequence of text and returns the corresponding string. If the pointer is nil, it returns the empty string. It assumes that the text sequence is terminated at a zero byte; if the zero byte is not present, the program may crash.
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).
ByteSliceToString returns a string form of the text represented by the slice s, with a terminating NUL and any bytes after the NUL removed.
func Chdir(path string) (err error)
func Chflags(path string, flags int) (err error)
func Chmod(path string, mode uint32) (err error)
func Chown(path string, uid int, gid int) (err error)
func Chroot(path string) (err error)
func Clearenv()
func ClockGettime(clockid int32, time *Timespec) (err error)
func Clonefile(src string, dst string, flags int) (err error)
func Clonefileat(srcDirfd int, src string, dstDirfd int, dst string, flags int) (err error)
func Close(fd int) (err error)
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 Connect(fd int, sa Sockaddr) (err error)
func Dup(fd int) (nfd int, err error)
func Dup2(from int, to int) (err error)
func Environ() []string
ErrnoName returns the error name for error number e.
func Exchangedata(path1 string, path2 string, options int) (err error)
Exec calls execve(2), which replaces the calling executable in the process tree. argv0 should be the full path to an executable ("/bin/ls") and the executable name should also be the first argument in argv (["ls", "-l"]). envv are the environment variables that should be passed to the new process (["USER=go", "PWD=/tmp"]).
func Exit(code int)
func Faccessat(dirfd int, path string, mode uint32, flags int) (err error)
func Fchdir(fd int) (err error)
func Fchflags(fd int, flags int) (err error)
func Fchmod(fd int, mode uint32) (err error)
func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)
func Fchown(fd int, uid int, gid int) (err error)
func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)
func Fclonefileat(srcDirfd int, dstDirfd int, dst string, flags int) (err error)
FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
FcntlFstore performs a fcntl syscall for the F_PREALLOCATE command.
FcntlInt performs a fcntl syscall on fd with the provided command and argument.
func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error)
func Flistxattr(fd int, dest []byte) (sz int, err error)
func Flock(fd int, how int) (err error)
func Fpathconf(fd int, name int) (val int, err error)
func Fremovexattr(fd int, attr string) (err error)
func Fsetxattr(fd int, attr string, data []byte, flags int) (err error)
func Fstat(fd int, stat *Stat_t) (err error)
func Fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
func Fstatfs(fd int, stat *Statfs_t) (err error)
func Fsync(fd int) (err error)
func Ftruncate(fd int, length int64) (err error)
func Futimes(fd int, tv []Timeval) error
func Getcwd(buf []byte) (n int, err error)
func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error)
func Getdtablesize() (size int)
func Getegid() (egid int)
func Getenv(key string) (value string, found bool)
func Geteuid() (uid int)
func Getfsstat(buf []Statfs_t, flags int) (n int, err error)
func Getgid() (gid int)
func Getgroups() (gids []int, err error)
func Getpeername(fd int) (sa Sockaddr, err error)
func Getpgid(pid int) (pgid int, err error)
func Getpgrp() (pgrp int)
func Getpid() (pid int)
func Getppid() (ppid int)
func Getpriority(which int, who int) (prio int, err error)
func Getrlimit(which int, lim *Rlimit) (err error)
func Getrusage(who int, rusage *Rusage) (err error)
func Getsid(pid int) (sid 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 GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error)
func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error)
func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error)
func GetsockoptLinger(fd, level, opt int) (*Linger, error)
GetsockoptString returns the string value of the socket option opt for the socket associated with fd at the given socket level.
func GetsockoptTimeval(fd, level, opt int) (*Timeval, error)
func GetsockoptUint64(fd, level, opt int) (value uint64, err error)
GetsockoptXucred is a getsockopt wrapper that returns an Xucred struct. The usual level and opt are SOL_LOCAL and LOCAL_PEERCRED, respectively.
func Gettimeofday(tp *Timeval) (err error)
func Getuid() (uid int)
func Getwd() (string, error)
func Getxattr(path string, attr string, dest []byte) (sz int, err error)
func IoctlCtlInfo(fd int, ctlInfo *CtlInfo) error
IoctlGetIfreqMTU performs the SIOCGIFMTU ioctl operation on fd to get the MTU of the network device specified by ifname.
IoctlGetInt performs an ioctl operation which gets an integer value from fd, using the specified request number. A few ioctl requests use the return value as an output parameter; for those, IoctlRetInt should be used instead of this function.
func IoctlGetTermios(fd int, req uint) (*Termios, error)
func IoctlGetWinsize(fd int, req uint) (*Winsize, error)
IoctlSetIfreqMTU performs the SIOCSIFMTU ioctl operation on fd to set the MTU of the network device specified by ifreq.Name.
IoctlSetInt performs an ioctl operation which sets an integer value on fd, using the specified request number.
IoctlSetPointerInt performs an ioctl operation which sets an integer value on fd, using the specified request number. The ioctl argument is called with a pointer to the integer value, rather than passing the integer value directly.
IoctlSetTermios performs an ioctl on fd with a *Termios. The req value will usually be TCSETA or TIOCSETA.
IoctlSetWinsize performs an ioctl on fd with a *Winsize argument. To change fd's window size, the req argument should be TIOCSWINSZ.
func Issetugid() (tainted bool)
func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err error)
func Kill(pid int, signum syscall.Signal) (err error)
func Kqueue() (fd int, err error)
func Lchown(path string, uid int, gid int) (err error)
func Lgetxattr(link string, attr string, dest []byte) (sz int, err error)
func Linkat(pathfd int, path string, linkfd int, link string, flags int) (err error)
func Listen(s int, backlog int) (err error)
func Listxattr(path string, dest []byte) (sz int, err error)
func Llistxattr(link string, dest []byte) (sz int, err error)
func Lremovexattr(link string, attr string) (err error)
func Lsetxattr(link string, attr string, data []byte, flags int) (err error)
func Lstat(path string, stat *Stat_t) (err error)
Lutimes sets the access and modification times tv on path. If path refers to a symlink, it is not dereferenced and the timestamps are set on the symlink. If tv is nil, the access and modification times are set to the current time. Otherwise tv must contain exactly 2 elements, with access time as the first element and modification time as the second element.
func Madvise(b []byte, behav int) (err error)
Major returns the major component of a Darwin device number.
Minor returns the minor component of a Darwin device number.
Mkdev returns a Darwin device number generated from the given major and minor components.
func Mkdir(path string, mode uint32) (err error)
func Mkdirat(dirfd int, path string, mode uint32) (err error)
func Mkfifo(path string, mode uint32) (err error)
func Mknod(path string, mode uint32, dev int) (err error)
func Mlock(b []byte) (err error)
func Mlockall(flags int) (err error)
func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error)
func Mprotect(b []byte, prot int) (err error)
func Msync(b []byte, flags int) (err error)
func Munlock(b []byte) (err error)
func Munlockall() (err error)
func Munmap(b []byte) (err error)
NsecToTimespec converts a number of nanoseconds into a Timespec.
NsecToTimeval converts a number of nanoseconds into a Timeval.
func Open(path string, mode int, perm uint32) (fd int, err error)
func Openat(dirfd int, path string, mode int, perm uint32) (fd int, err error)
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.
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 Pathconf(path string, name int) (val int, err error)
func Pipe(p []int) (err error)
func Poll(fds []PollFd, timeout int) (n int, err error)
func Pread(fd int, p []byte, offset int64) (n int, err error)
func PtraceAttach(pid int) (err error)
func PtraceDetach(pid int) (err error)
func Pwrite(fd int, p []byte, offset int64) (n int, err error)
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
func Read(fd int, p []byte) (n int, err error)
ReadDirent reads directory entries from fd and writes them into buf.
func Readlinkat(dirfd int, path string, buf []byte) (n int, err 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 Removexattr(path string, attr string) (err error)
func Rename(from string, to string) (err error)
func Renameat(fromfd int, from string, tofd int, to string) (err error)
func Revoke(path string) (err error)
func Rmdir(path string) (err error)
func Seek(fd int, offset int64, whence int) (newoffset int64, err error)
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
func Sendfile(outfd int, infd int, offset *int64, count int) (written int, 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 Setegid(egid int) (err error)
func Setenv(key, value string) error
func Seteuid(euid int) (err error)
func Setgid(gid int) (err error)
func Setgroups(gids []int) (err error)
func SetKevent(k *Kevent_t, fd, mode, flags int)
func Setlogin(name string) (err error)
func SetNonblock(fd int, nonblocking bool) (err error)
func Setpgid(pid int, pgid int) (err error)
func Setpriority(which int, who int, prio int) (err error)
func Setprivexec(flag int) (err error)
func Setregid(rgid int, egid int) (err error)
func Setreuid(ruid int, euid int) (err error)
func Setrlimit(which int, lim *Rlimit) (err error)
func Setsid() (pid 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 SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (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 SetsockoptUint64(fd, level, opt int, value uint64) (err error)
func Settimeofday(tp *Timeval) (err error)
func Setuid(uid int) (err error)
func Setxattr(path string, attr string, data []byte, flags int) (err error)
func Shutdown(s int, how int) (err error)
SignalName returns the signal name for signal number s.
SignalNum returns the syscall.Signal for signal named s, or 0 if a signal with such name is not found. The signal name should start with "SIG".
func Socket(domain, typ, proto int) (fd int, err error)
func Socketpair(domain, typ, proto int) (fd [2]int, err error)
func Stat(path string, stat *Stat_t) (err error)
func Statfs(path string, stat *Statfs_t) (err error)
func Symlinkat(oldpath string, newdirfd int, newpath string) (err error)
func Sync() (err error)
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)
func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
func Sysctl(name string) (string, error)
func SysctlArgs(name string, args ...int) (string, error)
func SysctlRaw(name string, args ...int) ([]byte, error)
func SysctlUint32Args(name string, args ...int) (uint32, error)
func SysctlUint64(name string, args ...int) (uint64, error)
TimespecToNSec returns the time stored in ts as nanoseconds.
TimeToTimespec converts t into a Timespec. On some 32-bit systems the range of valid Timespec values are smaller than that of time.Time values. So if t is out of the valid range of Timespec, it returns a zero Timespec and ERANGE.
TimevalToNsec returns the time stored in tv as nanoseconds.
func Truncate(path string, length int64) (err error)
func Umask(newmask int) (oldmask int)
func Uname(uname *Utsname) error
func Undelete(path string) (err error)
UnixRights encodes a set of open file descriptors into a socket control message for sending to another process.
func Unlinkat(dirfd int, path string, flags int) (err error)
func Unmount(path string, flags int) (err error)
func Unsetenv(key string) error
func Utimes(path string, tv []Timeval) error
func UtimesNano(path string, ts []Timespec) error
func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error)
func Write(fd int, p []byte) (n int, err error)
Package-Level Variables (total 159, in which 4 are exported)
For testing: clients can set this flag to force creation of IPv6 sockets to return EAFNOSUPPORT.
var Stderr int
var Stdin int
var Stdout int
Package-Level Constants (total 2186, in which 2178 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_IEEE80211 = 37
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_LOCAL = 1
const AF_MAX = 41
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_SYS_CONTROL = 2
const AF_SYSTEM = 32
const AF_UNIX = 1
const AF_UNSPEC = 0
const AF_UTUN = 38
const AF_VSOCK = 40
const ALTWERASE = 512
const AT_FDCWD = -2
const AT_REMOVEDIR = 128
const ATTR_CMN_ACCESSMASK = 131072
const ATTR_CMN_ACCTIME = 4096
const ATTR_CMN_ADDEDTIME = 268435456
const ATTR_CMN_BKUPTIME = 8192
const ATTR_CMN_CHGTIME = 2048
const ATTR_CMN_CRTIME = 512
const ATTR_CMN_DATA_PROTECT_FLAGS = 1073741824
const ATTR_CMN_DEVID = 2
const ATTR_CMN_DOCUMENT_ID = 1048576
const ATTR_CMN_ERROR = 536870912
const ATTR_CMN_FILEID = 33554432
const ATTR_CMN_FLAGS = 262144
const ATTR_CMN_FNDRINFO = 16384
const ATTR_CMN_FSID = 4
const ATTR_CMN_FULLPATH = 134217728
const ATTR_CMN_GEN_COUNT = 524288
const ATTR_CMN_GRPID = 65536
const ATTR_CMN_GRPUUID = 16777216
const ATTR_CMN_MODTIME = 1024
const ATTR_CMN_NAME = 1
const ATTR_CMN_NAMEDATTRCOUNT = 524288
const ATTR_CMN_NAMEDATTRLIST = 1048576
const ATTR_CMN_OBJID = 32
const ATTR_CMN_OBJTAG = 16
const ATTR_CMN_OBJTYPE = 8
const ATTR_CMN_OWNERID = 32768
const ATTR_CMN_PARENTID = 67108864
const ATTR_CMN_PAROBJID = 128
const ATTR_CMN_RETURNED_ATTRS = 2147483648
const ATTR_CMN_SCRIPT = 256
const ATTR_CMN_SETMASK = 1372061440
const ATTR_CMN_USERACCESS = 2097152
const ATTR_CMN_UUID = 8388608
const ATTR_CMN_VALIDMASK = 4294967295
const ATTR_CMN_VOLSETMASK = 26368
const ATTR_FILE_DATAEXTENTS = 2048
const ATTR_FILE_DEVTYPE = 32
const ATTR_FILE_FILETYPE = 64
const ATTR_FILE_FORKCOUNT = 128
const ATTR_FILE_FORKLIST = 256
const ATTR_FILE_RSRCEXTENTS = 16384
const ATTR_FILE_RSRCLENGTH = 4096
const ATTR_FILE_SETMASK = 32
const ATTR_FILE_VALIDMASK = 14335
const ATTR_VOL_ATTRIBUTES = 1073741824
const ATTR_VOL_CAPABILITIES = 131072
const ATTR_VOL_DIRCOUNT = 1024
const ATTR_VOL_ENCODINGSUSED = 65536
const ATTR_VOL_FILECOUNT = 512
const ATTR_VOL_FSTYPE = 1
const ATTR_VOL_INFO = 2147483648
const ATTR_VOL_MAXOBJCOUNT = 2048
const ATTR_VOL_MOUNTEDDEVICE = 32768
const ATTR_VOL_MOUNTFLAGS = 16384
const ATTR_VOL_MOUNTPOINT = 4096
const ATTR_VOL_NAME = 8192
const ATTR_VOL_OBJCOUNT = 256
const ATTR_VOL_QUOTA_SIZE = 268435456
const ATTR_VOL_RESERVED_SIZE = 536870912
const ATTR_VOL_SETMASK = 2147491840
const ATTR_VOL_SIZE = 4
const ATTR_VOL_UUID = 262144
const ATTR_VOL_VALIDMASK = 4027056127
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 BIOCSETFNR = 2148549246
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_MAXBUFSIZE = 524288
const BPF_MAXINSNS = 512
const BPF_MEM = 96
const BPF_MEMWORDS = 16
const BPF_MINBUFSIZE = 32
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 BS0 = 0
const BS1 = 32768
const BSDLY = 32768
const CFLUSH = 15
const CLOCAL = 32768
const CLOCK_MONOTONIC = 6
const CLOCK_REALTIME = 0
const CLOCK_UPTIME_RAW = 8
const CLONE_NOFOLLOW = 1
const CR0 = 0
const CR1 = 4096
const CR2 = 8192
const CR3 = 12288
const CRDLY = 12288
const CREAD = 2048
const CRTSCTS = 196608
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_HW = 6
const CTL_KERN = 1
const CTL_MAXNAME = 12
const CTL_NET = 4
const CTLIOCGINFO = 3227799043
const DLT_A429 = 184
const DLT_A653_ICM = 185
const DLT_AIRONET_HEADER = 120
const DLT_AOS = 222
const DLT_ARCNET = 7
const DLT_ARCNET_LINUX = 129
const DLT_ATM_CLIP = 19
const DLT_ATM_RFC1483 = 11
const DLT_AURORA = 126
const DLT_AX25 = 3
const DLT_AX25_KISS = 202
const DLT_BACNET_MS_TP = 165
const DLT_C_HDLC = 104
const DLT_C_HDLC_WITH_DIR = 205
const DLT_CAN20B = 190
const DLT_CAN_SOCKETCAN = 227
const DLT_CHAOS = 5
const DLT_CHDLC = 104
const DLT_CISCO_IOS = 118
const DLT_DBUS = 231
const DLT_DECT = 221
const DLT_DOCSIS = 143
const DLT_DVB_CI = 235
const DLT_ECONET = 115
const DLT_EN10MB = 1
const DLT_EN3MB = 2
const DLT_ENC = 109
const DLT_ERF = 197
const DLT_ERF_ETH = 175
const DLT_ERF_POS = 176
const DLT_FC_2 = 224
const DLT_FDDI = 10
const DLT_FLEXRAY = 210
const DLT_FRELAY = 107
const DLT_FRELAY_WITH_DIR = 206
const DLT_GCOM_SERIAL = 173
const DLT_GCOM_T1E1 = 172
const DLT_GPF_F = 171
const DLT_GPF_T = 170
const DLT_GPRS_LLC = 169
const DLT_GSMTAP_ABIS = 218
const DLT_GSMTAP_UM = 217
const DLT_HHDLC = 121
const DLT_IBM_SN = 146
const DLT_IBM_SP = 145
const DLT_IEEE802 = 6
const DLT_IEEE802_11 = 105
const DLT_IEEE802_15_4 = 195
const DLT_IP_OVER_FC = 122
const DLT_IPFILTER = 116
const DLT_IPMB = 199
const DLT_IPMB_LINUX = 209
const DLT_IPNET = 226
const DLT_IPOIB = 242
const DLT_IPV4 = 228
const DLT_IPV6 = 229
const DLT_JUNIPER_ATM1 = 137
const DLT_JUNIPER_ATM2 = 135
const DLT_JUNIPER_CHDLC = 181
const DLT_JUNIPER_ES = 132
const DLT_JUNIPER_ETHER = 178
const DLT_JUNIPER_FRELAY = 180
const DLT_JUNIPER_GGSN = 133
const DLT_JUNIPER_ISM = 194
const DLT_JUNIPER_MFR = 134
const DLT_JUNIPER_MLFR = 131
const DLT_JUNIPER_MLPPP = 130
const DLT_JUNIPER_MONITOR = 164
const DLT_JUNIPER_PPP = 179
const DLT_JUNIPER_PPPOE = 167
const DLT_JUNIPER_SRX_E2E = 233
const DLT_JUNIPER_ST = 200
const DLT_JUNIPER_VP = 183
const DLT_JUNIPER_VS = 232
const DLT_LAPB_WITH_DIR = 207
const DLT_LAPD = 203
const DLT_LIN = 212
const DLT_LINUX_EVDEV = 216
const DLT_LINUX_IRDA = 144
const DLT_LINUX_LAPD = 177
const DLT_LINUX_SLL = 113
const DLT_LOOP = 108
const DLT_LTALK = 114
const DLT_MATCHING_MAX = 266
const DLT_MATCHING_MIN = 104
const DLT_MFR = 182
const DLT_MOST = 211
const DLT_MPEG_2_TS = 243
const DLT_MPLS = 219
const DLT_MTP2 = 140
const DLT_MTP2_WITH_PHDR = 139
const DLT_MTP3 = 141
const DLT_MUX27010 = 236
const DLT_NETANALYZER = 240
const DLT_NFC_LLCP = 245
const DLT_NFLOG = 239
const DLT_NG40 = 244
const DLT_NULL = 0
const DLT_PCI_EXP = 125
const DLT_PFLOG = 117
const DLT_PFSYNC = 18
const DLT_PPI = 192
const DLT_PPP = 9
const DLT_PPP_BSDOS = 16
const DLT_PPP_ETHER = 51
const DLT_PPP_PPPD = 166
const DLT_PPP_SERIAL = 50
const DLT_PPP_WITH_DIR = 204
const DLT_PRISM_HEADER = 119
const DLT_PRONET = 4
const DLT_RAIF1 = 198
const DLT_RAW = 12
const DLT_RIO = 124
const DLT_SCCP = 142
const DLT_SITA = 196
const DLT_SLIP = 8
const DLT_SLIP_BSDOS = 15
const DLT_SUNATM = 123
const DLT_TZSP = 128
const DLT_USB = 186
const DLT_USB_DARWIN = 266
const DLT_USB_LINUX = 189
const DLT_USER0 = 147
const DLT_USER1 = 148
const DLT_USER10 = 157
const DLT_USER11 = 158
const DLT_USER12 = 159
const DLT_USER13 = 160
const DLT_USER14 = 161
const DLT_USER15 = 162
const DLT_USER2 = 149
const DLT_USER3 = 150
const DLT_USER4 = 151
const DLT_USER5 = 152
const DLT_USER6 = 153
const DLT_USER7 = 154
const DLT_USER8 = 155
const DLT_USER9 = 156
const DLT_WIHART = 223
const DLT_X2E_SERIAL = 213
const DLT_X2E_XORAYA = 214
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
const EV_ADD = 1
const EV_CLEAR = 32
const EV_DELETE = 2
const EV_DISABLE = 8
const EV_DISPATCH = 128
const EV_DISPATCH2 = 384
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 EV_UDATA_SPECIFIC = 256
const EV_VANISHED = 512
const EVFILT_AIO = -3
const EVFILT_EXCEPT = -15
const EVFILT_FS = -9
const EVFILT_MACHPORT = -8
const EVFILT_PROC = -5
const EVFILT_READ = -1
const EVFILT_SIGNAL = -6
const EVFILT_SYSCOUNT = 17
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_ADDFILESIGS_INFO = 103
const F_ADDFILESUPPL = 104
const F_ADDSIGS = 59
const F_ALLOCATEALL = 4
const F_ALLOCATECONTIG = 2
const F_BARRIERFSYNC = 85
const F_CHECK_LV = 98
const F_CHKCLEAN = 41
const F_DUPFD = 0
const F_DUPFD_CLOEXEC = 67
const F_FINDSIGS = 78
const F_FLUSH_DATA = 40
const F_FREEZE_FS = 53
const F_FULLFSYNC = 51
const F_GETCODEDIR = 72
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_GETSIGSINFO = 105
const F_GLOBAL_NOCACHE = 55
const F_LOG2PHYS = 49
const F_LOG2PHYS_EXT = 65
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_PUNCHHOLE = 99
const F_RDADVISE = 44
const F_RDAHEAD = 45
const F_RDLCK = 1
const F_SETBACKINGSTORE = 70
const F_SETFD = 2
const F_SETFL = 4
const F_SETLK = 8
const F_SETLKW = 9
const F_SETLKWTIMEOUT = 10
const F_SETNOSIGPIPE = 73
const F_SETOWN = 6
const F_SETSIZE = 43
const F_SINGLE_WRITER = 76
const F_SPECULATIVE_READ = 101
const F_THAW_FS = 54
const F_TRANSCODEKEY = 75
const F_TRIM_ACTIVE_FILE = 100
const F_UNLCK = 2
const F_VOLPOSMODE = 4
const F_WRLCK = 3
const FD_CLOEXEC = 1
const FD_SETSIZE = 1024
const FF0 = 0
const FF1 = 16384
const FFDLY = 16384
const FLUSHO = 8388608
const FSOPT_NOFOLLOW = 1
const HUPCL = 16384
const HW_MACHINE = 1
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_6LOWPAN = 64
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_PKTAP = 254
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_BLOCK_SOURCE = 72
const IP_BOUND_IF = 25
const IP_DF = 16384
const IP_DONTFRAG = 28
const IP_DROP_MEMBERSHIP = 13
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_MEMBERSHIPS = 4095
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_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_LOW = 2
const IP_RECVDSTADDR = 7
const IP_RECVIF = 20
const IP_RECVOPTS = 5
const IP_RECVPKTINFO = 26
const IP_RECVRETOPTS = 6
const IP_RECVTOS = 27
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_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_2292RTHDR = 24
const IPV6_3542DSTOPTS = 50
const IPV6_3542HOPLIMIT = 47
const IPV6_3542HOPOPTS = 49
const IPV6_3542NEXTHOP = 48
const IPV6_3542PKTINFO = 46
const IPV6_3542RTHDR = 51
const IPV6_AUTOFLOWLABEL = 59
const IPV6_BINDV6ONLY = 27
const IPV6_BOUND_IF = 125
const IPV6_CHECKSUM = 26
const IPV6_DEFHLIM = 64
const IPV6_DONTFRAG = 62
const IPV6_DSTOPTS = 50
const IPV6_FAITH = 29
const IPV6_FLOW_ECN_MASK = 12288
const IPV6_FLOWINFO_MASK = 4294967055
const IPV6_FLOWLABEL_MASK = 4294905600
const IPV6_FRAGTTL = 60
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_HOPLIMIT = 47
const IPV6_HOPOPTS = 49
const IPV6_IPSEC_POLICY = 28
const IPV6_JOIN_GROUP = 12
const IPV6_LEAVE_GROUP = 13
const IPV6_MAX_MEMBERSHIPS = 4095
const IPV6_MAXHLIM = 255
const IPV6_MAXOPTHDR = 2048
const IPV6_MAXPACKET = 65535
const IPV6_MMTU = 1280
const IPV6_MSFILTER = 74
const IPV6_NEXTHOP = 48
const IPV6_PATHMTU = 44
const IPV6_PKTINFO = 46
const IPV6_PORTRANGE = 14
const IPV6_RECVDSTOPTS = 40
const IPV6_RECVHOPLIMIT = 37
const IPV6_RECVHOPOPTS = 39
const IPV6_RECVPATHMTU = 43
const IPV6_RECVPKTINFO = 61
const IPV6_RECVRTHDR = 38
const IPV6_RECVTCLASS = 35
const IPV6_RTHDR = 51
const IPV6_RTHDR_LOOSE = 0
const IPV6_RTHDRDSTOPTS = 57
const IPV6_TCLASS = 36
const IPV6_USE_MIN_MTU = 42
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 KERN_HOSTNAME = 10
const KERN_OSRELEASE = 2
const KERN_OSTYPE = 1
const KERN_VERSION = 4
const LOCAL_PEERCRED = 1
const LOCAL_PEEREPID = 3
const LOCAL_PEEREUUID = 5
const LOCAL_PEERPID = 2
const LOCAL_PEERTOKEN = 6
const LOCAL_PEERUUID = 4
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_REUSE = 8
const MADV_NORMAL = 0
const MADV_PAGEOUT = 10
const MADV_RANDOM = 1
const MADV_SEQUENTIAL = 2
const MADV_WILLNEED = 3
const MAP_32BIT = 32768
const MAP_ANON = 4096
const MAP_ANONYMOUS = 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_RESILIENT_MEDIA = 16384
const MAP_SHARED = 1
const MAP_UNIX03 = 262144
const MCAST_BLOCK_SOURCE = 84
const MCAST_EXCLUDE = 2
const MCAST_INCLUDE = 1
const MCAST_JOIN_GROUP = 80
const MCAST_LEAVE_GROUP = 81
const MCAST_UNDEFINED = 0
const MCL_CURRENT = 1
const MCL_FUTURE = 2
const MNT_ASYNC = 64
const MNT_AUTOMOUNTED = 4194304
const MNT_CMDFLAGS = 983040
const MNT_CPROTECT = 128
const MNT_DEFWRITE = 33554432
const MNT_DONTBROWSE = 1048576
const MNT_DOVOLFS = 32768
const MNT_DWAIT = 4
const MNT_EXPORTED = 256
const MNT_FORCE = 524288
const MNT_IGNORE_OWNERSHIP = 2097152
const MNT_JOURNALED = 8388608
const MNT_LOCAL = 4096
const MNT_MULTILABEL = 67108864
const MNT_NOATIME = 268435456
const MNT_NOBLOCK = 131072
const MNT_NODEV = 16
const MNT_NOEXEC = 4
const MNT_NOSUID = 8
const MNT_NOUSERXATTR = 16777216
const MNT_NOWAIT = 2
const MNT_QUARANTINE = 1024
const MNT_QUOTA = 8192
const MNT_RDONLY = 1
const MNT_RELOAD = 262144
const MNT_REMOVABLE = 512
const MNT_ROOTFS = 16384
const MNT_SNAPSHOT = 1073741824
const MNT_STRICTATIME = 2147483648
const MNT_SYNCHRONOUS = 2
const MNT_UNION = 32
const MNT_UNKNOWNPERMISSIONS = 2097152
const MNT_UPDATE = 65536
const MNT_VISFLAGMASK = 3622893567
const MNT_WAIT = 1
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_NOSIGNAL = 524288
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_FLAGS_PRIV = 10
const NET_RT_IFLIST = 3
const NET_RT_IFLIST2 = 6
const NET_RT_MAXID = 11
const NET_RT_STAT = 4
const NET_RT_TRASH = 5
const NFDBITS = 32
const NL0 = 0
const NL1 = 256
const NL2 = 512
const NL3 = 768
const NLDLY = 768
const NOFLSH = 2147483648
const NOKERNINFO = 33554432
const NOTE_ABSOLUTE = 8
const NOTE_ATTRIB = 8
const NOTE_BACKGROUND = 64
const NOTE_CHILD = 4
const NOTE_CRITICAL = 32
const NOTE_DELETE = 1
const NOTE_EXEC = 536870912
const NOTE_EXIT = 2147483648
const NOTE_EXIT_CSERROR = 262144
const NOTE_EXIT_DECRYPTFAIL = 65536
const NOTE_EXIT_DETAIL = 33554432
const NOTE_EXIT_DETAIL_MASK = 458752
const NOTE_EXIT_MEMORY = 131072
const NOTE_EXIT_REPARENTED = 524288
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_FUNLOCK = 256
const NOTE_LEEWAY = 16
const NOTE_LOWAT = 1
const NOTE_MACHTIME = 256
const NOTE_NONE = 128
const NOTE_NSECONDS = 4
const NOTE_OOB = 2
const NOTE_PCTRLMASK = -1048576
const NOTE_PDATAMASK = 1048575
const NOTE_REAP = 268435456
const NOTE_RENAME = 32
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_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_NOFOLLOW_ANY = 536870912
const O_NONBLOCK = 4
const O_POPUP = 2147483648
const O_RDONLY = 0
const O_RDWR = 2
const O_SHLOCK = 16
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 OXTABS = 4
const PARENB = 4096
const PARMRK = 8
const PARODD = 8192
const PathMax = 1024
const PENDIN = 536870912
const POLLERR = 8
const POLLHUP = 16
const POLLIN = 1
const POLLNVAL = 32
const POLLOUT = 4
const POLLPRI = 2
const POLLRDBAND = 128
const POLLRDNORM = 64
const POLLWRBAND = 256
const POLLWRNORM = 4
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 R_OK = 4
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_MEMLOCK = 6
const RLIMIT_NOFILE = 8
const RLIMIT_NPROC = 7
const RLIMIT_RSS = 5
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_DEAD = 536870912
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_LLDATA = 1024
const RTF_LLINFO = 1024
const RTF_LOCAL = 2097152
const RTF_MODIFIED = 32
const RTF_MULTICAST = 8388608
const RTF_NOIFREF = 8192
const RTF_PINNED = 1048576
const RTF_PRCLONING = 65536
const RTF_PROTO1 = 32768
const RTF_PROTO2 = 16384
const RTF_PROTO3 = 262144
const RTF_PROXY = 134217728
const RTF_REJECT = 8
const RTF_ROUTER = 268435456
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 SEEK_CUR = 1
const SEEK_DATA = 4
const SEEK_END = 2
const SEEK_HOLE = 3
const SEEK_SET = 0
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 SIOCARPIPLL = 3223349544
const SIOCATMARK = 1074033415
const SIOCAUTOADDR = 3223349542
const SIOCAUTONETMASK = 2149607719
const SIOCDELMULTI = 2149607730
const SIOCDIFADDR = 2149607705
const SIOCDIFPHYADDR = 2149607745
const SIOCGDRVSPEC = 3223873915
const SIOCGETVLAN = 3223349631
const SIOCGHIWAT = 1074033409
const SIOCGIF6LOWPAN = 3223349701
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 SIOCGIFFUNCTIONALTYPE = 3223349677
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 SIOCGIFXMEDIA = 3224136008
const SIOCGLOWAT = 1074033411
const SIOCGPGRP = 1074033417
const SIOCIFCREATE = 3223349624
const SIOCIFCREATE2 = 3223349626
const SIOCIFDESTROY = 2149607801
const SIOCIFGCLONERS = 3222301057
const SIOCRSLVMULTI = 3222300987
const SIOCSDRVSPEC = 2150132091
const SIOCSETVLAN = 2149607806
const SIOCSHIWAT = 2147775232
const SIOCSIF6LOWPAN = 2149607876
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 SIOCSLOWAT = 2147775234
const SIOCSPGRP = 2147775240
const SizeofBpfHdr = 20
const SizeofBpfInsn = 8
const SizeofBpfProgram = 16
const SizeofBpfStat = 8
const SizeofBpfVersion = 4
const SizeofClockinfo = 20
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 SizeofInt = 4
const SizeofIovec = 16
const SizeofIPMreq = 8
const SizeofIPMreqn = 12
const SizeofIPv6Mreq = 20
const SizeofIPv6MTUInfo = 32
const SizeofKinfoProc = 648
const SizeofLinger = 8
const SizeofLong = 8
const SizeofLongLong = 8
const SizeofMsghdr = 48
const SizeofPtr = 8
const SizeofRtMetrics = 56
const SizeofRtMsghdr = 92
const SizeofShort = 2
const SizeofSockaddrAny = 108
const SizeofSockaddrCtl = 32
const SizeofSockaddrUnix = 106
const SizeofXucred = 76
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_NET_SERVICE_TYPE = 4374
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_NUMRCVPKT = 4370
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_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_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_LOCAL = 0
const SOL_SOCKET = 65535
const SOMAXCONN = 128
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Some external packages rely on SYS___SYSCTL being defined to implement their own sysctl wrappers. Provide it here, even though direct syscalls are no longer supported on darwin.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
Deprecated: Use libSystem wrappers instead of direct syscalls.
const TAB0 = 0
const TAB1 = 1024
const TAB2 = 2048
const TAB3 = 4
const TABDLY = 3076
const TCIFLUSH = 1
const TCIOFF = 3
const TCIOFLUSH = 3
const TCION = 4
const TCOFLUSH = 2
const TCOOFF = 1
const TCOON = 2
const TCP_CONNECTION_INFO = 262
const TCP_ENABLE_ECN = 260
const TCP_FASTOPEN = 261
const TCP_KEEPALIVE = 16
const TCP_KEEPCNT = 258
const TCP_KEEPINTVL = 257
const TCP_MAX_SACK = 4
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_MSS = 512
const TCP_NODELAY = 1
const TCP_NOOPT = 8
const TCP_NOPUSH = 4
const TCP_NOTSENT_LOWAT = 513
const TCP_RXT_FINDROP = 256
const TCP_SENDMOREACKS = 259
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_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 VM_LOADAVG = 2
const VM_MACHFACTOR = 4
const VM_MAXID = 6
const VM_METER = 1
const VM_SWAPUSAGE = 5
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 W_OK = 2
const WCONTINUED = 16
const WCOREFLAG = 128
const WEXITED = 4
const WNOHANG = 1
const WNOWAIT = 32
const WORDSIZE = 64
const WSTOPPED = 8
const WUNTRACED = 2
const X_OK = 1
const XATTR_CREATE = 2
const XATTR_NODEFAULT = 16
const XATTR_NOFOLLOW = 1
const XATTR_NOSECURITY = 8
const XATTR_REPLACE = 4