linux

package
v1.4.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dup3 added in v1.4.0

func Dup3(oldfd, newfd, flags int) error

Dup3 wraps unix.Dup3.

func Exec added in v1.4.0

func Exec(cmd string, args []string, env []string) error

Exec wraps unix.Exec.

func Getwd added in v1.4.0

func Getwd() (wd string, err error)

Getwd wraps unix.Getwd.

func Open added in v1.4.0

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

Open wraps unix.Open.

func Openat added in v1.4.0

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

Openat wraps unix.Openat.

func Recvfrom added in v1.4.0

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

Recvfrom wraps unix.Recvfrom.

func Sendmsg added in v1.4.0

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

Sendmsg wraps unix.Sendmsg.

func SetMempolicy added in v1.4.0

func SetMempolicy(mode uint, mask *unix.CPUSet) error

SetMempolicy wraps set_mempolicy.

Types

This section is empty.

Jump to

Keyboard shortcuts

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