Documentation ¶
Index ¶
Constants ¶
View Source
const MaxNameLen = 4096
MaxNameLen is the maximum length of the name of a file descriptor being sent using SendFile. The name of the file handle returned by RecvFile will never be larger than this value.
Variables ¶
This section is empty.
Functions ¶
func RecvFile ¶
RecvFile waits for a file descriptor to be sent over the given AF_UNIX socket. The file name of the remote file descriptor will be recreated locally (it is sent as non-auxiliary data in the same payload).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.