unix

package module
v0.0.0-...-a5fb094 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

README

Wrapper package for golang.org/x/sys/unix with automatic EINTR handler

Package github.com/AkihiroSuda/x-sys-unix-auto-eintr contains wrapper functions for golang.org/x/sys/unix with automatic EINTR handler as follows:

// Read is an alias of golang.org/x/sys/unix.Read, wrapped to automatically retry on EINTR.
func Read(fd int, p []byte) (n int, err error) {
        for {
                n, err = unix.Read(fd, p)
                if err != syscall.EINTR {
                        break
                }
        }
        return
}
...
// Write is an alias of golang.org/x/sys/unix.Write, wrapped to automatically retry on EINTR.
func Write(fd int, p []byte) (n int, err error) {
        for {
                n, err = unix.Write(fd, p)
                if err != syscall.EINTR {
                        break
                }
        }
        return
}
...
// Close is an alias of golang.org/x/sys/unix.Close. Does NOT retry on EINTR. See close(2) for the reason.
func Close(fd int) (err error) {
        return unix.Close(fd)
}
...
// Syscall is an alias of golang.org/x/sys/unix.Syscall, wrapped to automatically retry on EINTR.
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
        for {
                r1, r2, err = unix.Syscall(trap, a1, a2, a3)
                if err != syscall.EINTR {
                        break
                }
        }
        return
}

// Syscall6 is an alias of golang.org/x/sys/unix.Syscall6, wrapped to automatically retry on EINTR.
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
        for {
                r1, r2, err = unix.Syscall6(trap, a1, a2, a3, a4, a5, a6)
                if err != syscall.EINTR {
                        break
                }
        }
        return
}

// RawSyscall is an alias of golang.org/x/sys/unix.RawSyscall, wrapped to automatically retry on EINTR.
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) {
        for {
                r1, r2, err = unix.RawSyscall(trap, a1, a2, a3)
                if err != syscall.EINTR {
                        break
                }
        }
        return
}

// RawSyscall6 is an alias of golang.org/x/sys/unix.RawSyscall6, wrapped to automatically retry on EINTR.
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) {
        for {
                r1, r2, err = unix.RawSyscall6(trap, a1, a2, a3, a4, a5, a6)
                if err != syscall.EINTR {
                        break
                }
        }
        return
}

Background

https://golang.org/doc/go1.14#runtime

A consequence of the implementation of preemption is that on Unix systems, including Linux and macOS systems, programs built with Go 1.14 will receive more signals than programs built with earlier releases. This means that programs that use packages like syscall or golang.org/x/sys/unix will see more slow system calls fail with EINTR errors. Those programs will have to handle those errors in some way, most likely looping to try the system call again.

Usage

Just substitute import "golang.org/x/sys/unix" in your project with import unix "github.com/AkihiroSuda/x-sys-unix-auto-eintr".

GoDoc

GoDoc is here, but you don't need to read this because the usage is same as golang.org/x/sys/unix.

Contributing

Pull requests are welcome.

Note that generated_*.go must not be modified manually. Instead modify the code generator (_codegen) and run make.sh to generate the codes.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accept

func Accept(fd int) (nfd int, sa unix.Sockaddr, err error)

Accept is an alias of golang.org/x/sys/unix.Accept, wrapped to automatically retry on EINTR.

func Accept4

func Accept4(fd int, flags int) (nfd int, sa unix.Sockaddr, err error)

Accept4 is an alias of golang.org/x/sys/unix.Accept4, wrapped to automatically retry on EINTR.

func Access

func Access(path string, mode uint32) (err error)

Access is an alias of golang.org/x/sys/unix.Access, wrapped to automatically retry on EINTR.

func Acct

func Acct(path string) (err error)

Acct is an alias of golang.org/x/sys/unix.Acct, wrapped to automatically retry on EINTR.

func AddKey

func AddKey(keyType string, description string, payload []byte, ringid int) (id int, err error)

AddKey is an alias of golang.org/x/sys/unix.AddKey, wrapped to automatically retry on EINTR.

func Adjtimex

func Adjtimex(buf *unix.Timex) (state int, err error)

Adjtimex is an alias of golang.org/x/sys/unix.Adjtimex, wrapped to automatically retry on EINTR.

func Bind

func Bind(fd int, sa unix.Sockaddr) (err error)

Bind is an alias of golang.org/x/sys/unix.Bind, wrapped to automatically retry on EINTR.

func BindToDevice

func BindToDevice(fd int, device string) (err error)

BindToDevice is an alias of golang.org/x/sys/unix.BindToDevice, wrapped to automatically retry on EINTR.

func BytePtrFromString

func BytePtrFromString(s string) (*byte, error)

BytePtrFromString is an alias of golang.org/x/sys/unix.BytePtrFromString, wrapped to automatically retry on EINTR.

func ByteSliceFromString

func ByteSliceFromString(s string) ([]byte, error)

ByteSliceFromString is an alias of golang.org/x/sys/unix.ByteSliceFromString, wrapped to automatically retry on EINTR.

func Capget

func Capget(hdr *unix.CapUserHeader, data *unix.CapUserData) (err error)

Capget is an alias of golang.org/x/sys/unix.Capget, wrapped to automatically retry on EINTR.

func Capset

func Capset(hdr *unix.CapUserHeader, data *unix.CapUserData) (err error)

Capset is an alias of golang.org/x/sys/unix.Capset, wrapped to automatically retry on EINTR.

func Chdir

func Chdir(path string) (err error)

Chdir is an alias of golang.org/x/sys/unix.Chdir, wrapped to automatically retry on EINTR.

func Chmod

func Chmod(path string, mode uint32) (err error)

Chmod is an alias of golang.org/x/sys/unix.Chmod, wrapped to automatically retry on EINTR.

func Chown

func Chown(path string, uid int, gid int) (err error)

Chown is an alias of golang.org/x/sys/unix.Chown, wrapped to automatically retry on EINTR.

func Chroot

func Chroot(path string) (err error)

Chroot is an alias of golang.org/x/sys/unix.Chroot, wrapped to automatically retry on EINTR.

func Clearenv

func Clearenv()

Clearenv is an alias of golang.org/x/sys/unix.Clearenv.

func ClockGetres

func ClockGetres(clockid int32, res *unix.Timespec) (err error)

ClockGetres is an alias of golang.org/x/sys/unix.ClockGetres, wrapped to automatically retry on EINTR.

func ClockGettime

func ClockGettime(clockid int32, time *unix.Timespec) (err error)

ClockGettime is an alias of golang.org/x/sys/unix.ClockGettime, wrapped to automatically retry on EINTR.

func ClockNanosleep

func ClockNanosleep(clockid int32, flags int, request *unix.Timespec, remain *unix.Timespec) (err error)

ClockNanosleep is an alias of golang.org/x/sys/unix.ClockNanosleep, wrapped to automatically retry on EINTR.

func Close

func Close(fd int) (err error)

Close is an alias of golang.org/x/sys/unix.Close. Does NOT retry on EINTR. See close(2) for the reason.

func CloseOnExec

func CloseOnExec(fd int)

CloseOnExec is an alias of golang.org/x/sys/unix.CloseOnExec.

func CmsgLen

func CmsgLen(datalen int) int

CmsgLen is an alias of golang.org/x/sys/unix.CmsgLen.

func CmsgSpace

func CmsgSpace(datalen int) int

CmsgSpace is an alias of golang.org/x/sys/unix.CmsgSpace.

func Connect

func Connect(fd int, sa unix.Sockaddr) (err error)

Connect is an alias of golang.org/x/sys/unix.Connect, wrapped to automatically retry on EINTR.

func CopyFileRange

func CopyFileRange(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int, err error)

CopyFileRange is an alias of golang.org/x/sys/unix.CopyFileRange, wrapped to automatically retry on EINTR.

func Creat

func Creat(path string, mode uint32) (fd int, err error)

Creat is an alias of golang.org/x/sys/unix.Creat, wrapped to automatically retry on EINTR.

func DeleteModule

func DeleteModule(name string, flags int) (err error)

DeleteModule is an alias of golang.org/x/sys/unix.DeleteModule, wrapped to automatically retry on EINTR.

func Dup

func Dup(oldfd int) (fd int, err error)

Dup is an alias of golang.org/x/sys/unix.Dup, wrapped to automatically retry on EINTR.

func Dup2

func Dup2(oldfd int, newfd int) (err error)

Dup2 is an alias of golang.org/x/sys/unix.Dup2, wrapped to automatically retry on EINTR.

func Dup3

func Dup3(oldfd int, newfd int, flags int) (err error)

Dup3 is an alias of golang.org/x/sys/unix.Dup3, wrapped to automatically retry on EINTR.

func Environ

func Environ() []string

Environ is an alias of golang.org/x/sys/unix.Environ.

func EpollCreate

func EpollCreate(size int) (fd int, err error)

EpollCreate is an alias of golang.org/x/sys/unix.EpollCreate, wrapped to automatically retry on EINTR.

func EpollCreate1

func EpollCreate1(flag int) (fd int, err error)

EpollCreate1 is an alias of golang.org/x/sys/unix.EpollCreate1, wrapped to automatically retry on EINTR.

func EpollCtl

func EpollCtl(epfd int, op int, fd int, event *unix.EpollEvent) (err error)

EpollCtl is an alias of golang.org/x/sys/unix.EpollCtl, wrapped to automatically retry on EINTR.

func EpollWait

func EpollWait(epfd int, events []unix.EpollEvent, msec int) (n int, err error)

EpollWait is an alias of golang.org/x/sys/unix.EpollWait, wrapped to automatically retry on EINTR.

func ErrnoName

func ErrnoName(e syscall.Errno) string

ErrnoName is an alias of golang.org/x/sys/unix.ErrnoName.

func Eventfd

func Eventfd(initval uint, flags int) (fd int, err error)

Eventfd is an alias of golang.org/x/sys/unix.Eventfd, wrapped to automatically retry on EINTR.

func Exec

func Exec(argv0 string, argv []string, envv []string) error

Exec is an alias of golang.org/x/sys/unix.Exec, wrapped to automatically retry on EINTR.

func Exit

func Exit(code int)

Exit is an alias of golang.org/x/sys/unix.Exit.

func Faccessat

func Faccessat(dirfd int, path string, mode uint32, flags int) (err error)

Faccessat is an alias of golang.org/x/sys/unix.Faccessat, wrapped to automatically retry on EINTR.

func Fadvise

func Fadvise(fd int, offset int64, length int64, advice int) (err error)

Fadvise is an alias of golang.org/x/sys/unix.Fadvise, wrapped to automatically retry on EINTR.

func Fallocate

func Fallocate(fd int, mode uint32, off int64, len int64) (err error)

Fallocate is an alias of golang.org/x/sys/unix.Fallocate, wrapped to automatically retry on EINTR.

func FanotifyInit

func FanotifyInit(flags uint, event_f_flags uint) (fd int, err error)

FanotifyInit is an alias of golang.org/x/sys/unix.FanotifyInit, wrapped to automatically retry on EINTR.

func FanotifyMark

func FanotifyMark(fd int, flags uint, mask uint64, dirFd int, pathname string) (err error)

FanotifyMark is an alias of golang.org/x/sys/unix.FanotifyMark, wrapped to automatically retry on EINTR.

func Fchdir

func Fchdir(fd int) (err error)

Fchdir is an alias of golang.org/x/sys/unix.Fchdir, wrapped to automatically retry on EINTR.

func Fchmod

func Fchmod(fd int, mode uint32) (err error)

Fchmod is an alias of golang.org/x/sys/unix.Fchmod, wrapped to automatically retry on EINTR.

func Fchmodat

func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error)

Fchmodat is an alias of golang.org/x/sys/unix.Fchmodat, wrapped to automatically retry on EINTR.

func Fchown

func Fchown(fd int, uid int, gid int) (err error)

Fchown is an alias of golang.org/x/sys/unix.Fchown, wrapped to automatically retry on EINTR.

func Fchownat

func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error)

Fchownat is an alias of golang.org/x/sys/unix.Fchownat, wrapped to automatically retry on EINTR.

func FcntlFlock

func FcntlFlock(fd uintptr, cmd int, lk *unix.Flock_t) error

FcntlFlock is an alias of golang.org/x/sys/unix.FcntlFlock, wrapped to automatically retry on EINTR.

func FcntlInt

func FcntlInt(fd uintptr, cmd, arg int) (int, error)

FcntlInt is an alias of golang.org/x/sys/unix.FcntlInt, wrapped to automatically retry on EINTR.

func Fdatasync

func Fdatasync(fd int) (err error)

Fdatasync is an alias of golang.org/x/sys/unix.Fdatasync, wrapped to automatically retry on EINTR.

func Fgetxattr

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

Fgetxattr is an alias of golang.org/x/sys/unix.Fgetxattr, wrapped to automatically retry on EINTR.

func FinitModule

func FinitModule(fd int, params string, flags int) (err error)

FinitModule is an alias of golang.org/x/sys/unix.FinitModule, wrapped to automatically retry on EINTR.

func Flistxattr

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

Flistxattr is an alias of golang.org/x/sys/unix.Flistxattr, wrapped to automatically retry on EINTR.

func Flock

func Flock(fd int, how int) (err error)

Flock is an alias of golang.org/x/sys/unix.Flock, wrapped to automatically retry on EINTR.

func Fremovexattr

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

Fremovexattr is an alias of golang.org/x/sys/unix.Fremovexattr, wrapped to automatically retry on EINTR.

func Fsetxattr

func Fsetxattr(fd int, attr string, dest []byte, flags int) (err error)

Fsetxattr is an alias of golang.org/x/sys/unix.Fsetxattr, wrapped to automatically retry on EINTR.

func Fstat

func Fstat(fd int, stat *unix.Stat_t) (err error)

Fstat is an alias of golang.org/x/sys/unix.Fstat, wrapped to automatically retry on EINTR.

func Fstatat

func Fstatat(dirfd int, path string, stat *unix.Stat_t, flags int) (err error)

Fstatat is an alias of golang.org/x/sys/unix.Fstatat, wrapped to automatically retry on EINTR.

func Fstatfs

func Fstatfs(fd int, buf *unix.Statfs_t) (err error)

Fstatfs is an alias of golang.org/x/sys/unix.Fstatfs, wrapped to automatically retry on EINTR.

func Fsync

func Fsync(fd int) (err error)

Fsync is an alias of golang.org/x/sys/unix.Fsync, wrapped to automatically retry on EINTR.

func Ftruncate

func Ftruncate(fd int, length int64) (err error)

Ftruncate is an alias of golang.org/x/sys/unix.Ftruncate, wrapped to automatically retry on EINTR.

func Futimes

func Futimes(fd int, tv []unix.Timeval) (err error)

Futimes is an alias of golang.org/x/sys/unix.Futimes, wrapped to automatically retry on EINTR.

func Futimesat

func Futimesat(dirfd int, path string, tv []unix.Timeval) error

Futimesat is an alias of golang.org/x/sys/unix.Futimesat, wrapped to automatically retry on EINTR.

func Getcwd

func Getcwd(buf []byte) (n int, err error)

Getcwd is an alias of golang.org/x/sys/unix.Getcwd, wrapped to automatically retry on EINTR.

func Getdents

func Getdents(fd int, buf []byte) (n int, err error)

Getdents is an alias of golang.org/x/sys/unix.Getdents, wrapped to automatically retry on EINTR.

func Getegid

func Getegid() (egid int)

Getegid is an alias of golang.org/x/sys/unix.Getegid.

func Getenv

func Getenv(key string) (value string, found bool)

Getenv is an alias of golang.org/x/sys/unix.Getenv.

func Geteuid

func Geteuid() (euid int)

Geteuid is an alias of golang.org/x/sys/unix.Geteuid.

func Getgid

func Getgid() (gid int)

Getgid is an alias of golang.org/x/sys/unix.Getgid.

func Getgroups

func Getgroups() (gids []int, err error)

Getgroups is an alias of golang.org/x/sys/unix.Getgroups, wrapped to automatically retry on EINTR.

func Getpagesize

func Getpagesize() int

Getpagesize is an alias of golang.org/x/sys/unix.Getpagesize.

func Getpeername

func Getpeername(fd int) (sa unix.Sockaddr, err error)

Getpeername is an alias of golang.org/x/sys/unix.Getpeername, wrapped to automatically retry on EINTR.

func Getpgid

func Getpgid(pid int) (pgid int, err error)

Getpgid is an alias of golang.org/x/sys/unix.Getpgid, wrapped to automatically retry on EINTR.

func Getpgrp

func Getpgrp() (pid int)

Getpgrp is an alias of golang.org/x/sys/unix.Getpgrp.

func Getpid

func Getpid() (pid int)

Getpid is an alias of golang.org/x/sys/unix.Getpid.

func Getppid

func Getppid() (ppid int)

Getppid is an alias of golang.org/x/sys/unix.Getppid.

func Getpriority

func Getpriority(which int, who int) (prio int, err error)

Getpriority is an alias of golang.org/x/sys/unix.Getpriority, wrapped to automatically retry on EINTR.

func Getrandom

func Getrandom(buf []byte, flags int) (n int, err error)

Getrandom is an alias of golang.org/x/sys/unix.Getrandom, wrapped to automatically retry on EINTR.

func Getrlimit

func Getrlimit(resource int, rlim *unix.Rlimit) (err error)

Getrlimit is an alias of golang.org/x/sys/unix.Getrlimit, wrapped to automatically retry on EINTR.

func Getrusage

func Getrusage(who int, rusage *unix.Rusage) (err error)

Getrusage is an alias of golang.org/x/sys/unix.Getrusage, wrapped to automatically retry on EINTR.

func Getsid

func Getsid(pid int) (sid int, err error)

Getsid is an alias of golang.org/x/sys/unix.Getsid, wrapped to automatically retry on EINTR.

func Getsockname

func Getsockname(fd int) (sa unix.Sockaddr, err error)

Getsockname is an alias of golang.org/x/sys/unix.Getsockname, wrapped to automatically retry on EINTR.

func GetsockoptByte

func GetsockoptByte(fd, level, opt int) (value byte, err error)

GetsockoptByte is an alias of golang.org/x/sys/unix.GetsockoptByte, wrapped to automatically retry on EINTR.

func GetsockoptICMPv6Filter

func GetsockoptICMPv6Filter(fd, level, opt int) (*unix.ICMPv6Filter, error)

GetsockoptICMPv6Filter is an alias of golang.org/x/sys/unix.GetsockoptICMPv6Filter, wrapped to automatically retry on EINTR.

func GetsockoptIPMreq

func GetsockoptIPMreq(fd, level, opt int) (*unix.IPMreq, error)

GetsockoptIPMreq is an alias of golang.org/x/sys/unix.GetsockoptIPMreq, wrapped to automatically retry on EINTR.

func GetsockoptIPMreqn

func GetsockoptIPMreqn(fd, level, opt int) (*unix.IPMreqn, error)

GetsockoptIPMreqn is an alias of golang.org/x/sys/unix.GetsockoptIPMreqn, wrapped to automatically retry on EINTR.

func GetsockoptIPv6MTUInfo

func GetsockoptIPv6MTUInfo(fd, level, opt int) (*unix.IPv6MTUInfo, error)

GetsockoptIPv6MTUInfo is an alias of golang.org/x/sys/unix.GetsockoptIPv6MTUInfo, wrapped to automatically retry on EINTR.

func GetsockoptIPv6Mreq

func GetsockoptIPv6Mreq(fd, level, opt int) (*unix.IPv6Mreq, error)

GetsockoptIPv6Mreq is an alias of golang.org/x/sys/unix.GetsockoptIPv6Mreq, wrapped to automatically retry on EINTR.

func GetsockoptInet4Addr

func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error)

GetsockoptInet4Addr is an alias of golang.org/x/sys/unix.GetsockoptInet4Addr, wrapped to automatically retry on EINTR.

func GetsockoptInt

func GetsockoptInt(fd, level, opt int) (value int, err error)

GetsockoptInt is an alias of golang.org/x/sys/unix.GetsockoptInt, wrapped to automatically retry on EINTR.

func GetsockoptLinger

func GetsockoptLinger(fd, level, opt int) (*unix.Linger, error)

GetsockoptLinger is an alias of golang.org/x/sys/unix.GetsockoptLinger, wrapped to automatically retry on EINTR.

func GetsockoptString

func GetsockoptString(fd, level, opt int) (string, error)

GetsockoptString is an alias of golang.org/x/sys/unix.GetsockoptString, wrapped to automatically retry on EINTR.

func GetsockoptTCPInfo

func GetsockoptTCPInfo(fd, level, opt int) (*unix.TCPInfo, error)

GetsockoptTCPInfo is an alias of golang.org/x/sys/unix.GetsockoptTCPInfo, wrapped to automatically retry on EINTR.

func GetsockoptTimeval

func GetsockoptTimeval(fd, level, opt int) (*unix.Timeval, error)

GetsockoptTimeval is an alias of golang.org/x/sys/unix.GetsockoptTimeval, wrapped to automatically retry on EINTR.

func GetsockoptTpacketStats

func GetsockoptTpacketStats(fd, level, opt int) (*unix.TpacketStats, error)

GetsockoptTpacketStats is an alias of golang.org/x/sys/unix.GetsockoptTpacketStats, wrapped to automatically retry on EINTR.

func GetsockoptTpacketStatsV3

func GetsockoptTpacketStatsV3(fd, level, opt int) (*unix.TpacketStatsV3, error)

GetsockoptTpacketStatsV3 is an alias of golang.org/x/sys/unix.GetsockoptTpacketStatsV3, wrapped to automatically retry on EINTR.

func GetsockoptUcred

func GetsockoptUcred(fd, level, opt int) (*unix.Ucred, error)

GetsockoptUcred is an alias of golang.org/x/sys/unix.GetsockoptUcred, wrapped to automatically retry on EINTR.

func GetsockoptUint64

func GetsockoptUint64(fd, level, opt int) (value uint64, err error)

GetsockoptUint64 is an alias of golang.org/x/sys/unix.GetsockoptUint64, wrapped to automatically retry on EINTR.

func Gettid

func Gettid() (tid int)

Gettid is an alias of golang.org/x/sys/unix.Gettid.

func Gettimeofday

func Gettimeofday(tv *unix.Timeval) (err error)

Gettimeofday is an alias of golang.org/x/sys/unix.Gettimeofday, wrapped to automatically retry on EINTR.

func Getuid

func Getuid() (uid int)

Getuid is an alias of golang.org/x/sys/unix.Getuid.

func Getwd

func Getwd() (wd string, err error)

Getwd is an alias of golang.org/x/sys/unix.Getwd, wrapped to automatically retry on EINTR.

func Getxattr

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

Getxattr is an alias of golang.org/x/sys/unix.Getxattr, wrapped to automatically retry on EINTR.

func InitModule

func InitModule(moduleImage []byte, params string) (err error)

InitModule is an alias of golang.org/x/sys/unix.InitModule, wrapped to automatically retry on EINTR.

func InotifyAddWatch

func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error)

InotifyAddWatch is an alias of golang.org/x/sys/unix.InotifyAddWatch, wrapped to automatically retry on EINTR.

func InotifyInit

func InotifyInit() (fd int, err error)

InotifyInit is an alias of golang.org/x/sys/unix.InotifyInit, wrapped to automatically retry on EINTR.

func InotifyInit1

func InotifyInit1(flags int) (fd int, err error)

InotifyInit1 is an alias of golang.org/x/sys/unix.InotifyInit1, wrapped to automatically retry on EINTR.

func InotifyRmWatch

func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error)

InotifyRmWatch is an alias of golang.org/x/sys/unix.InotifyRmWatch, wrapped to automatically retry on EINTR.

func IoctlGetInt

func IoctlGetInt(fd int, req uint) (int, error)

IoctlGetInt is an alias of golang.org/x/sys/unix.IoctlGetInt, wrapped to automatically retry on EINTR.

func IoctlGetRTCTime

func IoctlGetRTCTime(fd int) (*unix.RTCTime, error)

IoctlGetRTCTime is an alias of golang.org/x/sys/unix.IoctlGetRTCTime, wrapped to automatically retry on EINTR.

func IoctlGetTermios

func IoctlGetTermios(fd int, req uint) (*unix.Termios, error)

IoctlGetTermios is an alias of golang.org/x/sys/unix.IoctlGetTermios, wrapped to automatically retry on EINTR.

func IoctlGetUint32

func IoctlGetUint32(fd int, req uint) (uint32, error)

IoctlGetUint32 is an alias of golang.org/x/sys/unix.IoctlGetUint32, wrapped to automatically retry on EINTR.

func IoctlGetWinsize

func IoctlGetWinsize(fd int, req uint) (*unix.Winsize, error)

IoctlGetWinsize is an alias of golang.org/x/sys/unix.IoctlGetWinsize, wrapped to automatically retry on EINTR.

func IoctlRetInt

func IoctlRetInt(fd int, req uint) (int, error)

IoctlRetInt is an alias of golang.org/x/sys/unix.IoctlRetInt, wrapped to automatically retry on EINTR.

func IoctlSetInt

func IoctlSetInt(fd int, req uint, value int) error

IoctlSetInt is an alias of golang.org/x/sys/unix.IoctlSetInt, wrapped to automatically retry on EINTR.

func IoctlSetPointerInt

func IoctlSetPointerInt(fd int, req uint, value int) error

IoctlSetPointerInt is an alias of golang.org/x/sys/unix.IoctlSetPointerInt, wrapped to automatically retry on EINTR.

func IoctlSetRTCTime

func IoctlSetRTCTime(fd int, value *unix.RTCTime) error

IoctlSetRTCTime is an alias of golang.org/x/sys/unix.IoctlSetRTCTime, wrapped to automatically retry on EINTR.

func IoctlSetTermios

func IoctlSetTermios(fd int, req uint, value *unix.Termios) error

IoctlSetTermios is an alias of golang.org/x/sys/unix.IoctlSetTermios, wrapped to automatically retry on EINTR.

func IoctlSetWinsize

func IoctlSetWinsize(fd int, req uint, value *unix.Winsize) error

IoctlSetWinsize is an alias of golang.org/x/sys/unix.IoctlSetWinsize, wrapped to automatically retry on EINTR.

func Ioperm

func Ioperm(from int, num int, on int) (err error)

Ioperm is an alias of golang.org/x/sys/unix.Ioperm, wrapped to automatically retry on EINTR.

func Iopl

func Iopl(level int) (err error)

Iopl is an alias of golang.org/x/sys/unix.Iopl, wrapped to automatically retry on EINTR.

func KexecFileLoad

func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error

KexecFileLoad is an alias of golang.org/x/sys/unix.KexecFileLoad, wrapped to automatically retry on EINTR.

func KeyctlBuffer

func KeyctlBuffer(cmd int, arg2 int, buf []byte, arg5 int) (ret int, err error)

KeyctlBuffer is an alias of golang.org/x/sys/unix.KeyctlBuffer, wrapped to automatically retry on EINTR.

func KeyctlDHCompute

func KeyctlDHCompute(params *unix.KeyctlDHParams, buffer []byte) (size int, err error)

KeyctlDHCompute is an alias of golang.org/x/sys/unix.KeyctlDHCompute, wrapped to automatically retry on EINTR.

func KeyctlGetKeyringID

func KeyctlGetKeyringID(id int, create bool) (ringid int, err error)

KeyctlGetKeyringID is an alias of golang.org/x/sys/unix.KeyctlGetKeyringID, wrapped to automatically retry on EINTR.

func KeyctlInstantiateIOV

func KeyctlInstantiateIOV(id int, payload []unix.Iovec, ringid int) error

KeyctlInstantiateIOV is an alias of golang.org/x/sys/unix.KeyctlInstantiateIOV, wrapped to automatically retry on EINTR.

func KeyctlInt

func KeyctlInt(cmd int, arg2 int, arg3 int, arg4 int, arg5 int) (ret int, err error)

KeyctlInt is an alias of golang.org/x/sys/unix.KeyctlInt, wrapped to automatically retry on EINTR.

func KeyctlJoinSessionKeyring

func KeyctlJoinSessionKeyring(name string) (ringid int, err error)

KeyctlJoinSessionKeyring is an alias of golang.org/x/sys/unix.KeyctlJoinSessionKeyring, wrapped to automatically retry on EINTR.

func KeyctlRestrictKeyring

func KeyctlRestrictKeyring(ringid int, keyType string, restriction string) error

KeyctlRestrictKeyring is an alias of golang.org/x/sys/unix.KeyctlRestrictKeyring, wrapped to automatically retry on EINTR.

func KeyctlSearch

func KeyctlSearch(ringid int, keyType, description string, destRingid int) (id int, err error)

KeyctlSearch is an alias of golang.org/x/sys/unix.KeyctlSearch, wrapped to automatically retry on EINTR.

func KeyctlSetperm

func KeyctlSetperm(id int, perm uint32) error

KeyctlSetperm is an alias of golang.org/x/sys/unix.KeyctlSetperm, wrapped to automatically retry on EINTR.

func KeyctlString

func KeyctlString(cmd int, id int) (string, error)

KeyctlString is an alias of golang.org/x/sys/unix.KeyctlString, wrapped to automatically retry on EINTR.

func Kill

func Kill(pid int, sig syscall.Signal) (err error)

Kill is an alias of golang.org/x/sys/unix.Kill, wrapped to automatically retry on EINTR.

func Klogctl

func Klogctl(typ int, buf []byte) (n int, err error)

Klogctl is an alias of golang.org/x/sys/unix.Klogctl, wrapped to automatically retry on EINTR.

func Klogset

func Klogset(typ int, arg int) (err error)

Klogset is an alias of golang.org/x/sys/unix.Klogset, wrapped to automatically retry on EINTR.

func Lchown

func Lchown(path string, uid int, gid int) (err error)

Lchown is an alias of golang.org/x/sys/unix.Lchown, wrapped to automatically retry on EINTR.

func Lgetxattr

func Lgetxattr(path string, attr string, dest []byte) (sz int, err error)

Lgetxattr is an alias of golang.org/x/sys/unix.Lgetxattr, wrapped to automatically retry on EINTR.

func Link(oldpath string, newpath string) (err error)

Link is an alias of golang.org/x/sys/unix.Link, wrapped to automatically retry on EINTR.

func Linkat

func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error)

Linkat is an alias of golang.org/x/sys/unix.Linkat, wrapped to automatically retry on EINTR.

func Listen

func Listen(s int, n int) (err error)

Listen is an alias of golang.org/x/sys/unix.Listen, wrapped to automatically retry on EINTR.

func Listxattr

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

Listxattr is an alias of golang.org/x/sys/unix.Listxattr, wrapped to automatically retry on EINTR.

func Llistxattr

func Llistxattr(path string, dest []byte) (sz int, err error)

Llistxattr is an alias of golang.org/x/sys/unix.Llistxattr, wrapped to automatically retry on EINTR.

func Lremovexattr

func Lremovexattr(path string, attr string) (err error)

Lremovexattr is an alias of golang.org/x/sys/unix.Lremovexattr, wrapped to automatically retry on EINTR.

func Lsetxattr

func Lsetxattr(path string, attr string, data []byte, flags int) (err error)

Lsetxattr is an alias of golang.org/x/sys/unix.Lsetxattr, wrapped to automatically retry on EINTR.

func Lstat

func Lstat(path string, stat *unix.Stat_t) (err error)

Lstat is an alias of golang.org/x/sys/unix.Lstat, wrapped to automatically retry on EINTR.

func Lutimes

func Lutimes(path string, tv []unix.Timeval) error

Lutimes is an alias of golang.org/x/sys/unix.Lutimes, wrapped to automatically retry on EINTR.

func Madvise

func Madvise(b []byte, advice int) (err error)

Madvise is an alias of golang.org/x/sys/unix.Madvise, wrapped to automatically retry on EINTR.

func Major

func Major(dev uint64) uint32

Major is an alias of golang.org/x/sys/unix.Major.

func MemfdCreate

func MemfdCreate(name string, flags int) (fd int, err error)

MemfdCreate is an alias of golang.org/x/sys/unix.MemfdCreate, wrapped to automatically retry on EINTR.

func Minor

func Minor(dev uint64) uint32

Minor is an alias of golang.org/x/sys/unix.Minor.

func Mkdev

func Mkdev(major, minor uint32) uint64

Mkdev is an alias of golang.org/x/sys/unix.Mkdev.

func Mkdir

func Mkdir(path string, mode uint32) (err error)

Mkdir is an alias of golang.org/x/sys/unix.Mkdir, wrapped to automatically retry on EINTR.

func Mkdirat

func Mkdirat(dirfd int, path string, mode uint32) (err error)

Mkdirat is an alias of golang.org/x/sys/unix.Mkdirat, wrapped to automatically retry on EINTR.

func Mkfifo

func Mkfifo(path string, mode uint32) error

Mkfifo is an alias of golang.org/x/sys/unix.Mkfifo, wrapped to automatically retry on EINTR.

func Mkfifoat

func Mkfifoat(dirfd int, path string, mode uint32) error

Mkfifoat is an alias of golang.org/x/sys/unix.Mkfifoat, wrapped to automatically retry on EINTR.

func Mknod

func Mknod(path string, mode uint32, dev int) (err error)

Mknod is an alias of golang.org/x/sys/unix.Mknod, wrapped to automatically retry on EINTR.

func Mknodat

func Mknodat(dirfd int, path string, mode uint32, dev int) (err error)

Mknodat is an alias of golang.org/x/sys/unix.Mknodat, wrapped to automatically retry on EINTR.

func Mlock

func Mlock(b []byte) (err error)

Mlock is an alias of golang.org/x/sys/unix.Mlock, wrapped to automatically retry on EINTR.

func Mlockall

func Mlockall(flags int) (err error)

Mlockall is an alias of golang.org/x/sys/unix.Mlockall, wrapped to automatically retry on EINTR.

func Mmap

func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, err error)

Mmap is an alias of golang.org/x/sys/unix.Mmap, wrapped to automatically retry on EINTR.

func Mount

func Mount(source string, target string, fstype string, flags uintptr, data string) (err error)

Mount is an alias of golang.org/x/sys/unix.Mount, wrapped to automatically retry on EINTR.

func Mprotect

func Mprotect(b []byte, prot int) (err error)

Mprotect is an alias of golang.org/x/sys/unix.Mprotect, wrapped to automatically retry on EINTR.

func Msync

func Msync(b []byte, flags int) (err error)

Msync is an alias of golang.org/x/sys/unix.Msync, wrapped to automatically retry on EINTR.

func Munlock

func Munlock(b []byte) (err error)

Munlock is an alias of golang.org/x/sys/unix.Munlock, wrapped to automatically retry on EINTR.

func Munlockall

func Munlockall() (err error)

Munlockall is an alias of golang.org/x/sys/unix.Munlockall, wrapped to automatically retry on EINTR.

func Munmap

func Munmap(b []byte) (err error)

Munmap is an alias of golang.org/x/sys/unix.Munmap, wrapped to automatically retry on EINTR.

func NameToHandleAt

func NameToHandleAt(dirfd int, path string, flags int) (handle unix.FileHandle, mountID int, err error)

NameToHandleAt is an alias of golang.org/x/sys/unix.NameToHandleAt, wrapped to automatically retry on EINTR.

func Nanosleep

func Nanosleep(time *unix.Timespec, leftover *unix.Timespec) (err error)

Nanosleep is an alias of golang.org/x/sys/unix.Nanosleep, wrapped to automatically retry on EINTR.

func NewFileHandle

func NewFileHandle(handleType int32, handle []byte) unix.FileHandle

NewFileHandle is an alias of golang.org/x/sys/unix.NewFileHandle.

func NsecToTimespec

func NsecToTimespec(nsec int64) unix.Timespec

NsecToTimespec is an alias of golang.org/x/sys/unix.NsecToTimespec.

func NsecToTimeval

func NsecToTimeval(nsec int64) unix.Timeval

NsecToTimeval is an alias of golang.org/x/sys/unix.NsecToTimeval.

func Open

func Open(path string, mode int, perm uint32) (fd int, err error)

Open is an alias of golang.org/x/sys/unix.Open, wrapped to automatically retry on EINTR.

func OpenByHandleAt

func OpenByHandleAt(mountFD int, handle unix.FileHandle, flags int) (fd int, err error)

OpenByHandleAt is an alias of golang.org/x/sys/unix.OpenByHandleAt, wrapped to automatically retry on EINTR.

func Openat

func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error)

Openat is an alias of golang.org/x/sys/unix.Openat, wrapped to automatically retry on EINTR.

func ParseDirent

func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string)

ParseDirent is an alias of golang.org/x/sys/unix.ParseDirent.

func ParseSocketControlMessage

func ParseSocketControlMessage(b []byte) ([]unix.SocketControlMessage, error)

ParseSocketControlMessage is an alias of golang.org/x/sys/unix.ParseSocketControlMessage, wrapped to automatically retry on EINTR.

func ParseUnixCredentials

func ParseUnixCredentials(m *unix.SocketControlMessage) (*unix.Ucred, error)

ParseUnixCredentials is an alias of golang.org/x/sys/unix.ParseUnixCredentials, wrapped to automatically retry on EINTR.

func ParseUnixRights

func ParseUnixRights(m *unix.SocketControlMessage) ([]int, error)

ParseUnixRights is an alias of golang.org/x/sys/unix.ParseUnixRights, wrapped to automatically retry on EINTR.

func Pause

func Pause() (err error)

Pause is an alias of golang.org/x/sys/unix.Pause, wrapped to automatically retry on EINTR.

func PerfEventOpen

func PerfEventOpen(attr *unix.PerfEventAttr, pid int, cpu int, groupFd int, flags int) (fd int, err error)

PerfEventOpen is an alias of golang.org/x/sys/unix.PerfEventOpen, wrapped to automatically retry on EINTR.

func Pipe

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

Pipe is an alias of golang.org/x/sys/unix.Pipe, wrapped to automatically retry on EINTR.

func Pipe2

func Pipe2(p []int, flags int) (err error)

Pipe2 is an alias of golang.org/x/sys/unix.Pipe2, wrapped to automatically retry on EINTR.

func PivotRoot

func PivotRoot(newroot string, putold string) (err error)

PivotRoot is an alias of golang.org/x/sys/unix.PivotRoot, wrapped to automatically retry on EINTR.

func Poll

func Poll(fds []unix.PollFd, timeout int) (n int, err error)

Poll is an alias of golang.org/x/sys/unix.Poll, wrapped to automatically retry on EINTR.

func Ppoll

func Ppoll(fds []unix.PollFd, timeout *unix.Timespec, sigmask *unix.Sigset_t) (n int, err error)

Ppoll is an alias of golang.org/x/sys/unix.Ppoll, wrapped to automatically retry on EINTR.

func Prctl

func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error)

Prctl is an alias of golang.org/x/sys/unix.Prctl, wrapped to automatically retry on EINTR.

func PrctlRetInt

func PrctlRetInt(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (int, error)

PrctlRetInt is an alias of golang.org/x/sys/unix.PrctlRetInt, wrapped to automatically retry on EINTR.

func Pread

func Pread(fd int, p []byte, offset int64) (n int, err error)

Pread is an alias of golang.org/x/sys/unix.Pread, wrapped to automatically retry on EINTR.

func Preadv

func Preadv(fd int, iovs [][]byte, offset int64) (n int, err error)

Preadv is an alias of golang.org/x/sys/unix.Preadv, wrapped to automatically retry on EINTR.

func Preadv2

func Preadv2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error)

Preadv2 is an alias of golang.org/x/sys/unix.Preadv2, wrapped to automatically retry on EINTR.

func Pselect

func Pselect(nfd int, r *unix.FdSet, w *unix.FdSet, e *unix.FdSet, timeout *unix.Timespec, sigmask *unix.Sigset_t) (n int, err error)

Pselect is an alias of golang.org/x/sys/unix.Pselect, wrapped to automatically retry on EINTR.

func PtraceAttach

func PtraceAttach(pid int) (err error)

PtraceAttach is an alias of golang.org/x/sys/unix.PtraceAttach, wrapped to automatically retry on EINTR.

func PtraceCont

func PtraceCont(pid int, signal int) (err error)

PtraceCont is an alias of golang.org/x/sys/unix.PtraceCont, wrapped to automatically retry on EINTR.

func PtraceDetach

func PtraceDetach(pid int) (err error)

PtraceDetach is an alias of golang.org/x/sys/unix.PtraceDetach, wrapped to automatically retry on EINTR.

func PtraceGetEventMsg

func PtraceGetEventMsg(pid int) (msg uint, err error)

PtraceGetEventMsg is an alias of golang.org/x/sys/unix.PtraceGetEventMsg, wrapped to automatically retry on EINTR.

func PtraceGetRegs

func PtraceGetRegs(pid int, regsout *unix.PtraceRegs) (err error)

PtraceGetRegs is an alias of golang.org/x/sys/unix.PtraceGetRegs, wrapped to automatically retry on EINTR.

func PtraceGetRegs386

func PtraceGetRegs386(pid int, regsout *unix.PtraceRegs386) error

PtraceGetRegs386 is an alias of golang.org/x/sys/unix.PtraceGetRegs386, wrapped to automatically retry on EINTR.

func PtraceGetRegsAmd64

func PtraceGetRegsAmd64(pid int, regsout *unix.PtraceRegsAmd64) error

PtraceGetRegsAmd64 is an alias of golang.org/x/sys/unix.PtraceGetRegsAmd64, wrapped to automatically retry on EINTR.

func PtraceInterrupt

func PtraceInterrupt(pid int) (err error)

PtraceInterrupt is an alias of golang.org/x/sys/unix.PtraceInterrupt, wrapped to automatically retry on EINTR.

func PtracePeekData

func PtracePeekData(pid int, addr uintptr, out []byte) (count int, err error)

PtracePeekData is an alias of golang.org/x/sys/unix.PtracePeekData, wrapped to automatically retry on EINTR.

func PtracePeekText

func PtracePeekText(pid int, addr uintptr, out []byte) (count int, err error)

PtracePeekText is an alias of golang.org/x/sys/unix.PtracePeekText, wrapped to automatically retry on EINTR.

func PtracePeekUser

func PtracePeekUser(pid int, addr uintptr, out []byte) (count int, err error)

PtracePeekUser is an alias of golang.org/x/sys/unix.PtracePeekUser, wrapped to automatically retry on EINTR.

func PtracePokeData

func PtracePokeData(pid int, addr uintptr, data []byte) (count int, err error)

PtracePokeData is an alias of golang.org/x/sys/unix.PtracePokeData, wrapped to automatically retry on EINTR.

func PtracePokeText

func PtracePokeText(pid int, addr uintptr, data []byte) (count int, err error)

PtracePokeText is an alias of golang.org/x/sys/unix.PtracePokeText, wrapped to automatically retry on EINTR.

func PtracePokeUser

func PtracePokeUser(pid int, addr uintptr, data []byte) (count int, err error)

PtracePokeUser is an alias of golang.org/x/sys/unix.PtracePokeUser, wrapped to automatically retry on EINTR.

func PtraceSeize

func PtraceSeize(pid int) (err error)

PtraceSeize is an alias of golang.org/x/sys/unix.PtraceSeize, wrapped to automatically retry on EINTR.

func PtraceSetOptions

func PtraceSetOptions(pid int, options int) (err error)

PtraceSetOptions is an alias of golang.org/x/sys/unix.PtraceSetOptions, wrapped to automatically retry on EINTR.

func PtraceSetRegs

func PtraceSetRegs(pid int, regs *unix.PtraceRegs) (err error)

PtraceSetRegs is an alias of golang.org/x/sys/unix.PtraceSetRegs, wrapped to automatically retry on EINTR.

func PtraceSetRegs386

func PtraceSetRegs386(pid int, regs *unix.PtraceRegs386) error

PtraceSetRegs386 is an alias of golang.org/x/sys/unix.PtraceSetRegs386, wrapped to automatically retry on EINTR.

func PtraceSetRegsAmd64

func PtraceSetRegsAmd64(pid int, regs *unix.PtraceRegsAmd64) error

PtraceSetRegsAmd64 is an alias of golang.org/x/sys/unix.PtraceSetRegsAmd64, wrapped to automatically retry on EINTR.

func PtraceSingleStep

func PtraceSingleStep(pid int) (err error)

PtraceSingleStep is an alias of golang.org/x/sys/unix.PtraceSingleStep, wrapped to automatically retry on EINTR.

func PtraceSyscall

func PtraceSyscall(pid int, signal int) (err error)

PtraceSyscall is an alias of golang.org/x/sys/unix.PtraceSyscall, wrapped to automatically retry on EINTR.

func Pwrite

func Pwrite(fd int, p []byte, offset int64) (n int, err error)

Pwrite is an alias of golang.org/x/sys/unix.Pwrite, wrapped to automatically retry on EINTR.

func Pwritev

func Pwritev(fd int, iovs [][]byte, offset int64) (n int, err error)

Pwritev is an alias of golang.org/x/sys/unix.Pwritev, wrapped to automatically retry on EINTR.

func Pwritev2

func Pwritev2(fd int, iovs [][]byte, offset int64, flags int) (n int, err error)

Pwritev2 is an alias of golang.org/x/sys/unix.Pwritev2, wrapped to automatically retry on EINTR.

func RawSyscall

func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)

RawSyscall is an alias of golang.org/x/sys/unix.RawSyscall, wrapped to automatically retry on EINTR.

func RawSyscall6

func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)

RawSyscall6 is an alias of golang.org/x/sys/unix.RawSyscall6, wrapped to automatically retry on EINTR.

func RawSyscallNoError

func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)

RawSyscallNoError is an alias of golang.org/x/sys/unix.RawSyscallNoError.

func Read

func Read(fd int, p []byte) (n int, err error)

Read is an alias of golang.org/x/sys/unix.Read, wrapped to automatically retry on EINTR.

func ReadDirent

func ReadDirent(fd int, buf []byte) (n int, err error)

ReadDirent is an alias of golang.org/x/sys/unix.ReadDirent, wrapped to automatically retry on EINTR.

func Readlink(path string, buf []byte) (n int, err error)

Readlink is an alias of golang.org/x/sys/unix.Readlink, wrapped to automatically retry on EINTR.

func Readlinkat

func Readlinkat(dirfd int, path string, buf []byte) (n int, err error)

Readlinkat is an alias of golang.org/x/sys/unix.Readlinkat, wrapped to automatically retry on EINTR.

func Readv

func Readv(fd int, iovs [][]byte) (n int, err error)

Readv is an alias of golang.org/x/sys/unix.Readv, wrapped to automatically retry on EINTR.

func Reboot

func Reboot(cmd int) (err error)

Reboot is an alias of golang.org/x/sys/unix.Reboot, wrapped to automatically retry on EINTR.

func Recvfrom

func Recvfrom(fd int, p []byte, flags int) (n int, from unix.Sockaddr, err error)

Recvfrom is an alias of golang.org/x/sys/unix.Recvfrom, wrapped to automatically retry on EINTR.

func Recvmsg

func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from unix.Sockaddr, err error)

Recvmsg is an alias of golang.org/x/sys/unix.Recvmsg, wrapped to automatically retry on EINTR.

func Removexattr

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

Removexattr is an alias of golang.org/x/sys/unix.Removexattr, wrapped to automatically retry on EINTR.

func Rename

func Rename(oldpath string, newpath string) (err error)

Rename is an alias of golang.org/x/sys/unix.Rename, wrapped to automatically retry on EINTR.

func Renameat

func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error)

Renameat is an alias of golang.org/x/sys/unix.Renameat, wrapped to automatically retry on EINTR.

func Renameat2

func Renameat2(olddirfd int, oldpath string, newdirfd int, newpath string, flags uint) (err error)

Renameat2 is an alias of golang.org/x/sys/unix.Renameat2, wrapped to automatically retry on EINTR.

func RequestKey

func RequestKey(keyType string, description string, callback string, destRingid int) (id int, err error)

RequestKey is an alias of golang.org/x/sys/unix.RequestKey, wrapped to automatically retry on EINTR.

func Rmdir

func Rmdir(path string) error

Rmdir is an alias of golang.org/x/sys/unix.Rmdir, wrapped to automatically retry on EINTR.

func SchedGetaffinity

func SchedGetaffinity(pid int, set *unix.CPUSet) error

SchedGetaffinity is an alias of golang.org/x/sys/unix.SchedGetaffinity, wrapped to automatically retry on EINTR.

func SchedSetaffinity

func SchedSetaffinity(pid int, set *unix.CPUSet) error

SchedSetaffinity is an alias of golang.org/x/sys/unix.SchedSetaffinity, wrapped to automatically retry on EINTR.

func Seek

func Seek(fd int, offset int64, whence int) (off int64, err error)

Seek is an alias of golang.org/x/sys/unix.Seek, wrapped to automatically retry on EINTR.

func Select

func Select(nfd int, r *unix.FdSet, w *unix.FdSet, e *unix.FdSet, timeout *unix.Timeval) (n int, err error)

Select is an alias of golang.org/x/sys/unix.Select, wrapped to automatically retry on EINTR.

func Sendfile

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

Sendfile is an alias of golang.org/x/sys/unix.Sendfile, wrapped to automatically retry on EINTR.

func Sendmsg

func Sendmsg(fd int, p, oob []byte, to unix.Sockaddr, flags int) (err error)

Sendmsg is an alias of golang.org/x/sys/unix.Sendmsg, wrapped to automatically retry on EINTR.

func SendmsgN

func SendmsgN(fd int, p, oob []byte, to unix.Sockaddr, flags int) (n int, err error)

SendmsgN is an alias of golang.org/x/sys/unix.SendmsgN, wrapped to automatically retry on EINTR.

func Sendto

func Sendto(fd int, p []byte, flags int, to unix.Sockaddr) (err error)

Sendto is an alias of golang.org/x/sys/unix.Sendto, wrapped to automatically retry on EINTR.

func SetNonblock

func SetNonblock(fd int, nonblocking bool) (err error)

SetNonblock is an alias of golang.org/x/sys/unix.SetNonblock, wrapped to automatically retry on EINTR.

func Setdomainname

func Setdomainname(p []byte) (err error)

Setdomainname is an alias of golang.org/x/sys/unix.Setdomainname, wrapped to automatically retry on EINTR.

func Setenv

func Setenv(key, value string) error

Setenv is an alias of golang.org/x/sys/unix.Setenv, wrapped to automatically retry on EINTR.

func Setfsgid

func Setfsgid(gid int) error

Setfsgid is an alias of golang.org/x/sys/unix.Setfsgid, wrapped to automatically retry on EINTR.

func SetfsgidRetGid

func SetfsgidRetGid(gid int) (int, error)

SetfsgidRetGid is an alias of golang.org/x/sys/unix.SetfsgidRetGid, wrapped to automatically retry on EINTR.

func Setfsuid

func Setfsuid(uid int) error

Setfsuid is an alias of golang.org/x/sys/unix.Setfsuid, wrapped to automatically retry on EINTR.

func SetfsuidRetUid

func SetfsuidRetUid(uid int) (int, error)

SetfsuidRetUid is an alias of golang.org/x/sys/unix.SetfsuidRetUid, wrapped to automatically retry on EINTR.

func Setgid

func Setgid(uid int) (err error)

Setgid is an alias of golang.org/x/sys/unix.Setgid, wrapped to automatically retry on EINTR.

func Setgroups

func Setgroups(gids []int) (err error)

Setgroups is an alias of golang.org/x/sys/unix.Setgroups, wrapped to automatically retry on EINTR.

func Sethostname

func Sethostname(p []byte) (err error)

Sethostname is an alias of golang.org/x/sys/unix.Sethostname, wrapped to automatically retry on EINTR.

func Setns

func Setns(fd int, nstype int) (err error)

Setns is an alias of golang.org/x/sys/unix.Setns, wrapped to automatically retry on EINTR.

func Setpgid

func Setpgid(pid int, pgid int) (err error)

Setpgid is an alias of golang.org/x/sys/unix.Setpgid, wrapped to automatically retry on EINTR.

func Setpriority

func Setpriority(which int, who int, prio int) (err error)

Setpriority is an alias of golang.org/x/sys/unix.Setpriority, wrapped to automatically retry on EINTR.

func Setregid

func Setregid(rgid int, egid int) (err error)

Setregid is an alias of golang.org/x/sys/unix.Setregid, wrapped to automatically retry on EINTR.

func Setresgid

func Setresgid(rgid int, egid int, sgid int) (err error)

Setresgid is an alias of golang.org/x/sys/unix.Setresgid, wrapped to automatically retry on EINTR.

func Setresuid

func Setresuid(ruid int, euid int, suid int) (err error)

Setresuid is an alias of golang.org/x/sys/unix.Setresuid, wrapped to automatically retry on EINTR.

func Setreuid

func Setreuid(ruid int, euid int) (err error)

Setreuid is an alias of golang.org/x/sys/unix.Setreuid, wrapped to automatically retry on EINTR.

func Setrlimit

func Setrlimit(resource int, rlim *unix.Rlimit) (err error)

Setrlimit is an alias of golang.org/x/sys/unix.Setrlimit, wrapped to automatically retry on EINTR.

func Setsid

func Setsid() (pid int, err error)

Setsid is an alias of golang.org/x/sys/unix.Setsid, wrapped to automatically retry on EINTR.

func SetsockoptByte

func SetsockoptByte(fd, level, opt int, value byte) (err error)

SetsockoptByte is an alias of golang.org/x/sys/unix.SetsockoptByte, wrapped to automatically retry on EINTR.

func SetsockoptCanRawFilter

func SetsockoptCanRawFilter(fd, level, opt int, filter []unix.CanFilter) error

SetsockoptCanRawFilter is an alias of golang.org/x/sys/unix.SetsockoptCanRawFilter, wrapped to automatically retry on EINTR.

func SetsockoptICMPv6Filter

func SetsockoptICMPv6Filter(fd, level, opt int, filter *unix.ICMPv6Filter) error

SetsockoptICMPv6Filter is an alias of golang.org/x/sys/unix.SetsockoptICMPv6Filter, wrapped to automatically retry on EINTR.

func SetsockoptIPMreq

func SetsockoptIPMreq(fd, level, opt int, mreq *unix.IPMreq) (err error)

SetsockoptIPMreq is an alias of golang.org/x/sys/unix.SetsockoptIPMreq, wrapped to automatically retry on EINTR.

func SetsockoptIPMreqn

func SetsockoptIPMreqn(fd, level, opt int, mreq *unix.IPMreqn) (err error)

SetsockoptIPMreqn is an alias of golang.org/x/sys/unix.SetsockoptIPMreqn, wrapped to automatically retry on EINTR.

func SetsockoptIPv6Mreq

func SetsockoptIPv6Mreq(fd, level, opt int, mreq *unix.IPv6Mreq) (err error)

SetsockoptIPv6Mreq is an alias of golang.org/x/sys/unix.SetsockoptIPv6Mreq, wrapped to automatically retry on EINTR.

func SetsockoptInet4Addr

func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error)

SetsockoptInet4Addr is an alias of golang.org/x/sys/unix.SetsockoptInet4Addr, wrapped to automatically retry on EINTR.

func SetsockoptInt

func SetsockoptInt(fd, level, opt int, value int) (err error)

SetsockoptInt is an alias of golang.org/x/sys/unix.SetsockoptInt, wrapped to automatically retry on EINTR.

func SetsockoptLinger

func SetsockoptLinger(fd, level, opt int, l *unix.Linger) (err error)

SetsockoptLinger is an alias of golang.org/x/sys/unix.SetsockoptLinger, wrapped to automatically retry on EINTR.

func SetsockoptPacketMreq

func SetsockoptPacketMreq(fd, level, opt int, mreq *unix.PacketMreq) error

SetsockoptPacketMreq is an alias of golang.org/x/sys/unix.SetsockoptPacketMreq, wrapped to automatically retry on EINTR.

func SetsockoptSockFprog

func SetsockoptSockFprog(fd, level, opt int, fprog *unix.SockFprog) error

SetsockoptSockFprog is an alias of golang.org/x/sys/unix.SetsockoptSockFprog, wrapped to automatically retry on EINTR.

func SetsockoptString

func SetsockoptString(fd, level, opt int, s string) (err error)

SetsockoptString is an alias of golang.org/x/sys/unix.SetsockoptString, wrapped to automatically retry on EINTR.

func SetsockoptTimeval

func SetsockoptTimeval(fd, level, opt int, tv *unix.Timeval) (err error)

SetsockoptTimeval is an alias of golang.org/x/sys/unix.SetsockoptTimeval, wrapped to automatically retry on EINTR.

func SetsockoptTpacketReq

func SetsockoptTpacketReq(fd, level, opt int, tp *unix.TpacketReq) error

SetsockoptTpacketReq is an alias of golang.org/x/sys/unix.SetsockoptTpacketReq, wrapped to automatically retry on EINTR.

func SetsockoptTpacketReq3

func SetsockoptTpacketReq3(fd, level, opt int, tp *unix.TpacketReq3) error

SetsockoptTpacketReq3 is an alias of golang.org/x/sys/unix.SetsockoptTpacketReq3, wrapped to automatically retry on EINTR.

func SetsockoptUint64

func SetsockoptUint64(fd, level, opt int, value uint64) (err error)

SetsockoptUint64 is an alias of golang.org/x/sys/unix.SetsockoptUint64, wrapped to automatically retry on EINTR.

func Settimeofday

func Settimeofday(tv *unix.Timeval) (err error)

Settimeofday is an alias of golang.org/x/sys/unix.Settimeofday, wrapped to automatically retry on EINTR.

func Setuid

func Setuid(uid int) (err error)

Setuid is an alias of golang.org/x/sys/unix.Setuid, wrapped to automatically retry on EINTR.

func Setxattr

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

Setxattr is an alias of golang.org/x/sys/unix.Setxattr, wrapped to automatically retry on EINTR.

func Shutdown

func Shutdown(fd int, how int) (err error)

Shutdown is an alias of golang.org/x/sys/unix.Shutdown, wrapped to automatically retry on EINTR.

func SignalName

func SignalName(s syscall.Signal) string

SignalName is an alias of golang.org/x/sys/unix.SignalName.

func SignalNum

func SignalNum(s string) syscall.Signal

SignalNum is an alias of golang.org/x/sys/unix.SignalNum.

func Signalfd

func Signalfd(fd int, sigmask *unix.Sigset_t, flags int) (newfd int, err error)

Signalfd is an alias of golang.org/x/sys/unix.Signalfd, wrapped to automatically retry on EINTR.

func Socket

func Socket(domain, typ, proto int) (fd int, err error)

Socket is an alias of golang.org/x/sys/unix.Socket, wrapped to automatically retry on EINTR.

func Socketpair

func Socketpair(domain, typ, proto int) (fd [2]int, err error)

Socketpair is an alias of golang.org/x/sys/unix.Socketpair, wrapped to automatically retry on EINTR.

func Splice

func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error)

Splice is an alias of golang.org/x/sys/unix.Splice, wrapped to automatically retry on EINTR.

func Stat

func Stat(path string, stat *unix.Stat_t) (err error)

Stat is an alias of golang.org/x/sys/unix.Stat, wrapped to automatically retry on EINTR.

func Statfs

func Statfs(path string, buf *unix.Statfs_t) (err error)

Statfs is an alias of golang.org/x/sys/unix.Statfs, wrapped to automatically retry on EINTR.

func Statx

func Statx(dirfd int, path string, flags int, mask int, stat *unix.Statx_t) (err error)

Statx is an alias of golang.org/x/sys/unix.Statx, wrapped to automatically retry on EINTR.

func Symlink(oldpath string, newpath string) (err error)

Symlink is an alias of golang.org/x/sys/unix.Symlink, wrapped to automatically retry on EINTR.

func Symlinkat

func Symlinkat(oldpath string, newdirfd int, newpath string) (err error)

Symlinkat is an alias of golang.org/x/sys/unix.Symlinkat, wrapped to automatically retry on EINTR.

func Sync

func Sync()

Sync is an alias of golang.org/x/sys/unix.Sync.

func SyncFileRange

func SyncFileRange(fd int, off int64, n int64, flags int) (err error)

SyncFileRange is an alias of golang.org/x/sys/unix.SyncFileRange, wrapped to automatically retry on EINTR.

func Syncfs

func Syncfs(fd int) (err error)

Syncfs is an alias of golang.org/x/sys/unix.Syncfs, wrapped to automatically retry on EINTR.

func Syscall

func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno)

Syscall is an alias of golang.org/x/sys/unix.Syscall, wrapped to automatically retry on EINTR.

func Syscall6

func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno)

Syscall6 is an alias of golang.org/x/sys/unix.Syscall6, wrapped to automatically retry on EINTR.

func SyscallNoError

func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr)

SyscallNoError is an alias of golang.org/x/sys/unix.SyscallNoError.

func Sysinfo

func Sysinfo(info *unix.Sysinfo_t) (err error)

Sysinfo is an alias of golang.org/x/sys/unix.Sysinfo, wrapped to automatically retry on EINTR.

func Tee

func Tee(rfd int, wfd int, len int, flags int) (n int64, err error)

Tee is an alias of golang.org/x/sys/unix.Tee, wrapped to automatically retry on EINTR.

func Tgkill

func Tgkill(tgid int, tid int, sig syscall.Signal) (err error)

Tgkill is an alias of golang.org/x/sys/unix.Tgkill, wrapped to automatically retry on EINTR.

func Time

func Time(t *unix.Time_t) (tt unix.Time_t, err error)

Time is an alias of golang.org/x/sys/unix.Time, wrapped to automatically retry on EINTR.

func TimeToTimespec

func TimeToTimespec(t time.Time) (unix.Timespec, error)

TimeToTimespec is an alias of golang.org/x/sys/unix.TimeToTimespec, wrapped to automatically retry on EINTR.

func Times

func Times(tms *unix.Tms) (ticks uintptr, err error)

Times is an alias of golang.org/x/sys/unix.Times, wrapped to automatically retry on EINTR.

func TimespecToNsec

func TimespecToNsec(ts unix.Timespec) int64

TimespecToNsec is an alias of golang.org/x/sys/unix.TimespecToNsec.

func TimevalToNsec

func TimevalToNsec(tv unix.Timeval) int64

TimevalToNsec is an alias of golang.org/x/sys/unix.TimevalToNsec.

func Truncate

func Truncate(path string, length int64) (err error)

Truncate is an alias of golang.org/x/sys/unix.Truncate, wrapped to automatically retry on EINTR.

func Umask

func Umask(mask int) (oldmask int)

Umask is an alias of golang.org/x/sys/unix.Umask.

func Uname

func Uname(buf *unix.Utsname) (err error)

Uname is an alias of golang.org/x/sys/unix.Uname, wrapped to automatically retry on EINTR.

func UnixCredentials

func UnixCredentials(ucred *unix.Ucred) []byte

UnixCredentials is an alias of golang.org/x/sys/unix.UnixCredentials.

func UnixRights

func UnixRights(fds int) []byte

UnixRights is an alias of golang.org/x/sys/unix.UnixRights.

func Unlink(path string) error

Unlink is an alias of golang.org/x/sys/unix.Unlink, wrapped to automatically retry on EINTR.

func Unlinkat

func Unlinkat(dirfd int, path string, flags int) (err error)

Unlinkat is an alias of golang.org/x/sys/unix.Unlinkat, wrapped to automatically retry on EINTR.

func Unmount

func Unmount(target string, flags int) (err error)

Unmount is an alias of golang.org/x/sys/unix.Unmount, wrapped to automatically retry on EINTR.

func Unsetenv

func Unsetenv(key string) error

Unsetenv is an alias of golang.org/x/sys/unix.Unsetenv, wrapped to automatically retry on EINTR.

func Unshare

func Unshare(flags int) (err error)

Unshare is an alias of golang.org/x/sys/unix.Unshare, wrapped to automatically retry on EINTR.

func Ustat

func Ustat(dev int, ubuf *unix.Ustat_t) (err error)

Ustat is an alias of golang.org/x/sys/unix.Ustat, wrapped to automatically retry on EINTR.

func Utime

func Utime(path string, buf *unix.Utimbuf) (err error)

Utime is an alias of golang.org/x/sys/unix.Utime, wrapped to automatically retry on EINTR.

func Utimes

func Utimes(path string, tv []unix.Timeval) error

Utimes is an alias of golang.org/x/sys/unix.Utimes, wrapped to automatically retry on EINTR.

func UtimesNano

func UtimesNano(path string, ts []unix.Timespec) error

UtimesNano is an alias of golang.org/x/sys/unix.UtimesNano, wrapped to automatically retry on EINTR.

func UtimesNanoAt

func UtimesNanoAt(dirfd int, path string, ts []unix.Timespec, flags int) error

UtimesNanoAt is an alias of golang.org/x/sys/unix.UtimesNanoAt, wrapped to automatically retry on EINTR.

func Vmsplice

func Vmsplice(fd int, iovs []unix.Iovec, flags int) (int, error)

Vmsplice is an alias of golang.org/x/sys/unix.Vmsplice, wrapped to automatically retry on EINTR.

func Wait4

func Wait4(pid int, wstatus *unix.WaitStatus, options int, rusage *unix.Rusage) (wpid int, err error)

Wait4 is an alias of golang.org/x/sys/unix.Wait4, wrapped to automatically retry on EINTR.

func Write

func Write(fd int, p []byte) (n int, err error)

Write is an alias of golang.org/x/sys/unix.Write, wrapped to automatically retry on EINTR.

func Writev

func Writev(fd int, iovs [][]byte) (n int, err error)

Writev is an alias of golang.org/x/sys/unix.Writev, wrapped to automatically retry on EINTR.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL