unix_noeintr

package
v27.3.0-rc.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Wrappers for unix syscalls that retry on EINTR TODO: Consider moving (for example to moby/sys) and making the wrappers auto-generated.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(fd int) (err error)

func EpollCreate

func EpollCreate() (int, error)

func EpollCtl

func EpollCtl(epFd int, op int, fd int, event *unix.EpollEvent) error

func EpollWait

func EpollWait(epFd int, events []unix.EpollEvent, msec int) (int, error)

func Fstat

func Fstat(fd int, stat *unix.Stat_t) (err error)

func Fstatat

func Fstatat(fd int, path string, stat *unix.Stat_t, flags int) (err error)

func Mount

func Mount(source string, target string, fstype string, flags uintptr, data string) (err error)

func Open

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

func Openat

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

func Openat2

func Openat2(dirfd int, path string, how *unix.OpenHow) (fd int, err error)

func Retry

func Retry(f func() error)

func Unmount

func Unmount(target string, flags int) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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