centos man page for kernel_recvmsg

Query: kernel_recvmsg

OS: centos

Section: 9

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

KERNEL_RECVMSG(9)						 Linux Networking						 KERNEL_RECVMSG(9)

NAME
kernel_recvmsg - Receive a message from a socket (kernel space)
SYNOPSIS
int kernel_recvmsg(struct socket * sock, struct msghdr * msg, struct kvec * vec, size_t num, size_t size, int flags);
ARGUMENTS
sock The socket to receive the message from msg Received message vec Input s/g array for message data num Size of input s/g array size Number of bytes to read flags Message flags (MSG_DONTWAIT, etc...)
DESCRIPTION
On return the msg structure contains the scatter/gather array passed in the vec argument. The array is modified so that it consists of the unfilled portion of the original array. The returned value is the total number of bytes received, or an error.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 KERNEL_RECVMSG(9)
Related Man Pages
recvfrom(2) - bsd
recvmsg(2) - bsd
sctp_recvmsg(3) - debian
sctp_recvmsg(3) - centos
send(2) - ultrix
Similar Topics in the Unix Linux Community
DB2 convert digits to binary format
CentOS7 restoring file capabilities
CentOS 6 ran out of space, need to reclaim it
Controlling user input
Please Welcome Dave Munro to the Moderator Team!