dpns_symlink man page

DPNS_SYMLINK(3) DPNS Library Functions DPNS_SYMLINK(3)

[1mNAME[0m
dpns_symlink - make a symbolic link to a file or a directory in the
DPNS Name Server

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

[1mint dpns_symlink (const char *[4m[22mtarget[24m[1m, const char *[4m[22mlinkname[24m[1m)[0m

[1mDESCRIPTION[0m
[1mdpns_symlink [22mmakes a symbolic link to a file or a directory in the DPNS
Name Server.

[4mlinkname[0m
specifies the link name relative to the current DPNS directory
or the full DPNS pathname.

[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
[1mENOENT [22mA component of [4mlinkname[24m prefix does not exist.

[1mEACCES [22mSearch permission is denied on a component of [4mlinkname[0m
prefix or write permission on [4mlinkname[24m parent directory is
denied.

[1mEFAULT [4m[22mtarget[24m or [4mlinkname[24m is a NULL pointer.

[1mEEXIST [4m[22mlinkname[24m exists already.

[1mENOTDIR [22mA component of [4mlinkname[24m prefix is not a directory.

[1mENOSPC [22mThe name server database is full.

[1mENAMETOOLONG [22mThe length of [4mtarget[24m or [4mlinkname[24m exceeds [1mCA_MAXPATHLEN [22mor
the length of a [4mlinkname[24m component exceeds [1mCA_MAXNAMELEN[22m.

[1mSENOSHOST [22mHost unknown.

[1mSENOSSERV [22mService unknown.

[1mSECOMERR [22mCommunication error.

[1mSELOOP [22mToo many symbolic links encountered when parsing [4mlinkname[24m.

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

[1mSEE ALSO[0m
[1mCastor_limits(4)[22m, [1mdpns_chdir(3)[22m, [1mdpns_chmod(3)[22m, [1mdpns_readlink(3)[22m,
[1mdpns_stat(3), dpns_statg(3)[22m, [1mCupvlist(1)[0m

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

DPNS $Date: 2004/06/28 09:18:05 $ DPNS_SYMLINK(3)

Info