dpns_endsess man page

DPNS_ENDSESS(3)             DPNS Library Functions             DPNS_ENDSESS(3)

[1mNAME[0m
      dpns_endsess - end session

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

      [1mint dpns_endsess (void)[0m

[1mDESCRIPTION[0m
      [1mdpns_endsess  [22mends  session.   The  connection  to  the  Name Server is
      closed.

[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
      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSECOMERR     [22mCommunication error.

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

[1mSEE ALSO[0m
      [1mdpns_startsess(3)[0m

DPNS                     $Date: 2005/06/30 05:26:29 $          DPNS_ENDSESS(3)