debian man page for io_receivefd

Query: io_receivefd

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

io_receivefd(3) 					     Library Functions Manual						   io_receivefd(3)

NAME
io_receivefd - receive a file descriptor over a Unix Domain socket
SYNTAX
#include <io.h> int64 io_receivefd(int64 sock);
DESCRIPTION
io_receivefd receives a file descriptor from the Unix Domain socket sock. You can send a descriptor using io_passfd(3). io_receivefd returns -1 on error or the file descriptor. The underlying Unix API can send more than one descriptor at the time. This function expects only one descriptor and will return the first one if more than one were sent.
SEE ALSO
io_passfd(3) io_receivefd(3)
Related Man Pages
shutdown(3xnet) - opensolaris
io_canwrite(3) - debian
io_nonblock(3) - debian
io_tryread(3) - debian
sctp_peeloff(3socket) - sunos
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Is UNIX an open source OS ?
One instance of comparing grep and awk
Find columns in a file based on header and print to new file