package unix_noeintr

import "github.com/dotcloud/docker/internal/unix_noeintr"

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

Index

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)

Source Files

epoll_linux.go fs_unix.go

Version
v27.0.0-rc.2+incompatible
Published
Jun 17, 2024
Platform
linux/amd64
Imports
2 packages
Last checked
2 seconds ago

Tools for package owners.