sockfd_lookup(9) suse man page | unix.com

Man Page: sockfd_lookup

Operating Environment: suse

Section: 9

SOCKFD_LOOKUP(9)						 Linux Networking						  SOCKFD_LOOKUP(9)

NAME
sockfd_lookup - Go from a file number to its socket slot
SYNOPSIS
struct socket * sockfd_lookup(int fd, int * err);
ARGUMENTS
fd file handle err pointer to an error code return
DESCRIPTION
The file handle passed in is locked and the socket it is bound too is returned. If an error occurs the err pointer is overwritten with a negative errno code and NULL is returned. The function checks for both invalid handles and passing a handle which is not a socket. On a success the socket object pointer is returned.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SOCKFD_LOOKUP(9)
Related Man Pages
curlinfo_activesocket(3) - mojave
curl_multi_assign(3) - debian
curl_multi_assign(3) - osx
socket_last_error(3) - php
curl_multi_assign(3) - minix
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Getting command output to putty window title.
Tar Command
Shopt -s histappend
32 bit process addressing more than 4GB