Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/opencontainers/runc
/ WritePacket
Method
WritePacket
libcontainer/sync_unix.go:41–43 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
39
}
40
41
func
(s *syncSocket) WritePacket(b []byte) (int, error) {
42
return
s.f.Write(b)
43
}
44
45
func
(s *syncSocket) ReadPacket() ([]byte, error) {
46
size, _, err := linux.Recvfrom(int(s.f.Fd()), nil, unix.MSG_TRUNC|unix.MSG_PEEK)
Callers
1
doWriteSync
Function · 0.80
Calls
1
Write
Method · 0.80
Tested by
no test coverage detected