kubernetes/vendor/golang.org/x/sys/unix/syscall_darwin.go

func fdopendir(fd int) (dir uintptr, err error) {}

var libc_fdopendir_trampoline_addr

func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) {}

type SockaddrDatalink

type SockaddrCtl

func (sa *SockaddrCtl) sockaddr() (unsafe.Pointer, _Socklen, error) {}

type SockaddrVM

func (sa *SockaddrVM) sockaddr() (unsafe.Pointer, _Socklen, error) {}

func anyToSockaddrGOOS(fd int, rsa *RawSockaddrAny) (Sockaddr, error) {}

const SYS___SYSCTL

// Translate "kern.hostname" to []_C_int{0,1,2,3}.
func nametomib(name string) (mib []_C_int, err error) {}

func direntIno(buf []byte) (uint64, bool) {}

func direntReclen(buf []byte) (uint64, bool) {}

func direntNamlen(buf []byte) (uint64, bool) {}

func PtraceAttach(pid int) (err error) {}

func PtraceDetach(pid int) (err error) {}

func PtraceDenyAttach() (err error)    {}

func Pipe(p []int) (err error) {}

func Getfsstat(buf []Statfs_t, flags int) (n int, err error) {}

func xattrPointer(dest []byte) *byte {}

func Getxattr(path string, attr string, dest []byte) (sz int, err error) {}

func Lgetxattr(link string, attr string, dest []byte) (sz int, err error) {}

func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {}

func Setxattr(path string, attr string, data []byte, flags int) (err error) {}

func Lsetxattr(link string, attr string, data []byte, flags int) (err error) {}

func Fsetxattr(fd int, attr string, data []byte, flags int) (err error) {}

func Removexattr(path string, attr string) (err error) {}

func Lremovexattr(link string, attr string) (err error) {}

func Fremovexattr(fd int, attr string) (err error) {}

func Listxattr(path string, dest []byte) (sz int, err error) {}

func Llistxattr(link string, dest []byte) (sz int, err error) {}

func Flistxattr(fd int, dest []byte) (sz int, err error) {}

func Kill(pid int, signum syscall.Signal) (err error) {}

func IoctlCtlInfo(fd int, ctlInfo *CtlInfo) error {}

type IfreqMTU

// IoctlGetIfreqMTU performs the SIOCGIFMTU ioctl operation on fd to get the MTU
// of the network device specified by ifname.
func IoctlGetIfreqMTU(fd int, ifname string) (*IfreqMTU, error) {}

// IoctlSetIfreqMTU performs the SIOCSIFMTU ioctl operation on fd to set the MTU
// of the network device specified by ifreq.Name.
func IoctlSetIfreqMTU(fd int, ifreq *IfreqMTU) error {}

func RenamexNp(from string, to string, flag uint32) (err error) {}

func RenameatxNp(fromfd int, from string, tofd int, to string, flag uint32) (err error) {}

func Uname(uname *Utsname) error {}

func Sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) {}

func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) {}

func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (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 GetsockoptXucred(fd, level, opt int) (*Xucred, error) {}

func GetsockoptTCPConnectionInfo(fd, level, opt int) (*TCPConnectionInfo, error) {}

func SysctlKinfoProc(name string, args ...int) (*KinfoProc, error) {}

func SysctlKinfoProcSlice(name string, args ...int) ([]KinfoProc, error) {}

func PthreadChdir(path string) (err error) {}

func PthreadFchdir(fd int) (err error) {}

// Connectx calls connectx(2) to initiate a connection on a socket.
//
// srcIf, srcAddr, and dstAddr are filled into a [SaEndpoints] struct and passed as the endpoints argument.
//
//   - srcIf is the optional source interface index. 0 means unspecified.
//   - srcAddr is the optional source address. nil means unspecified.
//   - dstAddr is the destination address.
//
// On success, Connectx returns the number of bytes enqueued for transmission.
func Connectx(fd int, srcIf uint32, srcAddr, dstAddr Sockaddr, associd SaeAssocID, flags uint32, iov []Iovec, connid *SaeConnID) (n uintptr, err error) {}