sockfd_lookup man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

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.	 November 2013		      SOCKFD_LOOKUP(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net