1DPNS_SETERRBUF(3)            DPNS Library Functions           DP‐
2NS_SETERRBUF(3)
3
4
5
6[1mNAME[0m
7       dpns_seterrbuf ‐ set receiving buffer for error messages
8
9[1mSYNOPSIS[0m
10       [1mint  dpns_seterrbuf  (char  *[4m[22mbuffer[24m[1m,  int
11[4m[22mbuflen[24m[1m)[0m
12
13[1mDESCRIPTION[0m
14       [1mdpns_seterrbuf  [22mtells  the  name  server client API
15the address and the
16       size of the buffer to be used for error messages. If  this
17routine  is
18       not  called  or if [4mbuffer[24m is NULL, the messages are
19printed on [1mstderr[22m.
20
21[1mRETURN VALUE[0m
22       This  routine  returns  0  if the operation was successful
23or ‐1 if the
24       operation failed. In the latter case, [1mserrno [22mis set
25appropriately.
26
27[1mERRORS[0m
28       [1mENOMEM       [22mmemory could not  be   allocated   for
29the  thread  specific
30                    information.
31
32[1mAUTHOR[0m
33       [1mLCG Grid Deployment [22mTeam
34
35
36
37DPNS                      $Date: 2007/05/14 05:53:52 $        DP‐
38NS_SETERRBUF(3)
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Impressum