Poster of Linux kernelThe best gift for a Linux geek
NETCLOSE

NETCLOSE

Section: Common Library Functions (3) Updated: $Date: 2005/03/29 09:27:19 $
Local index Up
 

NAME

netclose - close an existing socket  

SYNOPSIS

#include "net.h"

int netclose (int s);  

DESCRIPTION

netclose closes an existing socket.  

RETURN VALUE

This routine returns zero if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.  

ERRORS

EINTR
The function was interrupted by a signal.
EBADF
s is not a valid descriptor.
ENOTSOCK
s is not a socket.
 

SEE ALSO

close(2), closesocket(WNT), neterror(3)  

AUTHOR

LCG Grid Deployment Team


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:51:03 GMT, April 16, 2011