1DPNS_ENDSESS(3) DPNS Library Functions
2DPNS_ENDSESS(3)
3
4
5
6[1mNAME[0m
7 dpns_endsess ‐ end session
8
9[1mSYNOPSIS[0m
10 [1m#include <sys/types.h>[0m
11 [1m#include "dpns_api.h"[0m
12
13 [1mint dpns_endsess (void)[0m
14
15[1mDESCRIPTION[0m
16 [1mdpns_endsess [22mends session. The connection to
17the Name Server is
18 closed.
19
20[1mRETURN VALUE[0m
21 This routine returns 0 if the operation was successful or
22‐1 if the
23 operation failed. In the latter case, [1mserrno [22mis set
24appropriately.
25
26[1mERRORS[0m
27 [1mSENOSHOST [22mHost unknown.
28
29 [1mSENOSSERV [22mService unknown.
30
31 [1mSECOMERR [22mCommunication error.
32
33 [1mENSNACT [22mName server is not running or is being
34shutdown.
35
36[1mSEE ALSO[0m
37 [1mdpns_startsess(3)[0m
38
39
40
41DPNS $Date: 2005/06/30 05:26:29 $
42DPNS_ENDSESS(3)
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66