int recvsockctr(int fd, void *buf, size_t len); int sendsockctr(int fd, void *buf, size_t len);
This syscall allows to fetch the control block of a socket referred to by
fd. If no control data is available, nothing will be written to the
buffer.
This syscall returns 0 on success, and returns -1 on failure,
with the errno:
EBADFThe passed file was not a socket.
EFAULTThe passed buffer points to invalid memory.