dpns_closedir man page

DPNS_CLOSEDIR(3) DPNS Library Functions DPNS_CLOSEDIR(3)

[1mNAME[0m
dpns_closedir - close DPNS directory opened by [1mdpns_opendir [22min the name
server

[1mSYNOPSIS[0m
[1m#include <sys/types.h>[0m
[1m#include "dpns_api.h"[0m

[1mint dpns_closedir (dpns_DIR *[4m[22mdirp[24m[1m)[0m

[1mDESCRIPTION[0m
[1mdpns_closedir [22mcloses the DPNS directory opened by [1mdpns_opendir [22min the
name server and frees the [1mdpns_DIR [22mstructure pointed by [4mdirp[24m.

[4mdirp[24m specifies the pointer value returned by [1mdpns_opendir[22m.

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

[1mERRORS[0m
[1mEBADF [22mFile descriptor in DIR structure is invalid.

[1mEFAULT [4m[22mdirp[24m is a NULL pointer.

[1mSENOSSERV [22mService unknown.

[1mSECOMERR [22mCommunication error.

[1mENSNACT [22mName server is not running or is being shutdown.

[1mSEE ALSO[0m
[1mdpns_opendir(3)[22m, [1mdpns_readdir(3), dpns_readdirx(3)[22m, [1mdpns_rewinddir(3)[0m

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

DPNS $Date: 2010-12-13 08:41:11 +0100 (Mon, 13 Dec 2010D)PN$S_CLOSEDIR(3)

Info