Package unix
- Constants
- func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error
- func GetRandom(p []byte, flags GetRandomFlag) (n int, err error)
- func Ioctl(fd int, cmd int, args uintptr) (err error)
- func IsNonblock(fd int) (nonblocking bool, err error)
- func Openat(dirfd int, path string, flags int, perm uint32) (int, error)
- func Unlinkat(dirfd int, path string, flags int) error
- type GetRandomFlag
Package files
at.go
at_aix.go
at_solaris.go
at_sysnum_linux.go
at_sysnum_newfstatat_linux.go
getrandom_linux.go
getrandom_linux_amd64.go
getrandom_linux_s390x.go
ioctl_aix.go
nonblocking.go
nonblocking_nacl.go
In the call graph viewer below, each node
is a function belonging to this package
and its children are the functions it
calls—perhaps dynamically.
The root nodes are the entry points of the
package: functions that may be called from
outside the package.
There may be non-exported or anonymous
functions among them if they are called
dynamically from another package.
Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring func
token.
Functions may be omitted if they were
determined to be unreachable in the
particular programs or tests that were
analyzed.
Constants
const (
AT_REMOVEDIR = 0x1
AT_SYMLINK_NOFOLLOW = 0x1
)
const (
AT_REMOVEDIR = 0x1
AT_SYMLINK_NOFOLLOW = 0x1000
)
const AT_REMOVEDIR = 0x200
const AT_SYMLINK_NOFOLLOW = 0x100
func Fstatat(dirfd int, path string, stat *syscall.Stat_t, flags int) error
func GetRandom(p []byte, flags GetRandomFlag) (n int, err error)
GetRandom calls the Linux getrandom system call.
See https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895
func Ioctl(fd int, cmd int, args uintptr) (err error)
func IsNonblock(fd int) (nonblocking bool, err error)
func Openat(dirfd int, path string, flags int, perm uint32) (int, error)
func Unlinkat(dirfd int, path string, flags int) error
type GetRandomFlag uintptr
GetRandomFlag is a flag supported by the getrandom system call.
const (
GRND_NONBLOCK GetRandomFlag = 0x0001
GRND_RANDOM GetRandomFlag = 0x0002
)