MCPcopy
hub / github.com/opencontainers/runc / Sendmsg

Function Sendmsg

internal/linux/linux.go:86–91  ·  view source on GitHub ↗

Sendmsg wraps [unix.Sendmsg].

(fd int, p, oob []byte, to unix.Sockaddr, flags int)

Source from the content-addressed store, hash-verified

84
85// Sendmsg wraps [unix.Sendmsg].
86func Sendmsg(fd int, p, oob []byte, to unix.Sockaddr, flags int) error {
87 err := retryOnEINTR(func() error {
88 return unix.Sendmsg(fd, p, oob, to, flags)
89 })
90 return os.NewSyscallError("sendmsg", err)
91}
92
93// SetMempolicy wraps set_mempolicy.
94func SetMempolicy(mode int, mask *unix.CPUSet) error {

Callers 2

sdNotifyBarrierFunction · 0.92
SendRawFdFunction · 0.92

Calls 1

retryOnEINTRFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…