package linux

import "github.com/opencontainers/runc/internal/linux"

Index

Functions

func Dup3

func Dup3(oldfd, newfd, flags int) error

Dup3 wraps unix.Dup3.

func Exec

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

Exec wraps unix.Exec.

func Getwd

func Getwd() (wd string, err error)

Getwd wraps unix.Getwd.

func Open

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

Open wraps unix.Open.

func Openat

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

Openat wraps unix.Openat.

func Recvfrom

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

Recvfrom wraps unix.Recvfrom.

func Sendmsg

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

Sendmsg wraps unix.Sendmsg.

Source Files

eintr.go linux.go

Version
v1.4.0-rc.1
Published
Sep 5, 2025
Platform
darwin/amd64
Imports
3 packages
Last checked
11 minutes ago

Tools for package owners.