MCPcopy Create free account
hub / github.com/One-com/gone / Export

Function Export

sd/file.go:371–374  ·  view source on GitHub ↗

Export records a dup() of the file descriptor and makes it managed by the sd package, marked as in active use. Closing the object provided will not close the managed file descriptor, so any socket connection will still be open an be able to be transferred to other processes/objects in open state. I

(sdname string, f interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

InheritNamedListenerFunction · 0.85
InheritNamedPacketConnFunction · 0.85
NamedListenTCPFunction · 0.85
TestExportFunction · 0.85
TestForgetFunction · 0.85
TestListenTCPFunction · 0.85

Calls 1

exportInternalFunction · 0.85

Tested by 3

TestExportFunction · 0.68
TestForgetFunction · 0.68
TestListenTCPFunction · 0.68