netclose man page

NETCLOSE(3) Common Library Functions NETCLOSE(3)

[1mNAME[0m
netclose - close an existing socket

[1mSYNOPSIS[0m
[1m#include "net.h"[0m

[1mint netclose (int [4m[22ms[24m[1m);[0m

[1mDESCRIPTION[0m
[1mnetclose [22mcloses an existing socket.

[1mRETURN VALUE[0m
This routine returns zero if the operation was successful or -1 if the
operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
[1mEINTR [22mThe function was interrupted by a signal.

[1mEBADF [4m[22ms[24m is not a valid descriptor.

[1mENOTSOCK [4m[22ms[24m is not a socket.

[1mSEE ALSO[0m
[1mclose(2)[22m, [1mclosesocket(WNT)[22m, [1mneterror(3)[0m

[1mAUTHOR[0m
[1mLCG Grid Deployment [22mTeam

LCG $Date: 2005/03/29 09:27:19 $ NETCLOSE(3)

Info