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.2.9
Published
Nov 27, 2025
Platform
windows/amd64
Imports
2 packages
Last checked
37 minutes ago

Tools for package owners.