package linux

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

Package linux provides minimal wrappers around Linux system calls, primarily to provide support for automatic EINTR-retries.

Index

Functions

func GetPtyPeer

func GetPtyPeer(ptyFd uintptr, unsafePeerPath string, flags int) (*os.File, error)

GetPtyPeer is a wrapper for ioctl(TIOCGPTPEER).

func Readlinkat

func Readlinkat(dir *os.File, path string) (string, error)

Readlinkat wraps unix.Readlinkat.

Source Files

doc.go linux.go

Version
v1.3.5
Published
Mar 17, 2026
Platform
darwin/amd64
Imports
2 packages
Last checked
11 minutes ago

Tools for package owners.