1DPNS_ENDSESS(3)             DPNS Library Functions             DPNS_ENDSESS(3)
2
3
4

NAME

6       dpns_endsess - end session
7

SYNOPSIS

9       #include <sys/types.h>
10       #include "dpns_api.h"
11
12       int dpns_endsess (void)
13

DESCRIPTION

15       dpns_endsess  ends  session.   The  connection  to  the  Name Server is
16       closed.
17

RETURN VALUE

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

ERRORS

23       SENOSHOST    Host unknown.
24
25       SENOSSERV    Service unknown.
26
27       SECOMERR     Communication error.
28
29       ENSNACT      Name server is not running or is being shutdown.
30

SEE ALSO

32       dpns_startsess(3)
33
34
35
36DPNS                     $Date: 2005/06/30 05:26:29 $          DPNS_ENDSESS(3)
Impressum