package unix_noeintr
import "github.com/dotcloud/docker/internal/unix_noeintr"
Package unix_noeintr provides wrappers for unix syscalls that retry on EINTR.
TODO: Consider moving (for example to moby/sys) and making the wrappers auto-generated.
Index ¶
- func Close(fd int) (err error)
- func EpollCreate() (int, error)
- func EpollCtl(epFd int, op int, fd int, event *unix.EpollEvent) error
- func EpollWait(epFd int, events []unix.EpollEvent, msec int) (int, error)
- func Fstat(fd int, stat *unix.Stat_t) (err error)
- func Fstatat(fd int, path string, stat *unix.Stat_t, flags int) (err error)
- func Mount(source string, target string, fstype string, flags uintptr, data string) (err error)
- func Open(path string, mode int, perm uint32) (fd int, err error)
- func Openat(dirfd int, path string, mode int, perms uint32) (fd int, err error)
- func Openat2(dirfd int, path string, how *unix.OpenHow) (fd int, err error)
- func Retry(f func() error)
- func Unmount(target string, flags int) (err error)
Functions ¶
func Close ¶
func EpollCreate ¶
func EpollCtl ¶
func EpollWait ¶
func Fstat ¶
func Fstatat ¶
func Mount ¶
func Open ¶
func Openat ¶
func Openat2 ¶
func Retry ¶
func Retry(f func() error)
func Unmount ¶
Source Files ¶
- Version
- v28.1.1+incompatible (latest)
- Published
- Apr 18, 2025
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 6 hours ago –
Tools for package owners.