1LFC_SETERRBUF(3)                  LFC      Library      Functions
2LFC_SETERRBUF(3)
3
4
5
6[1mNAME[0m
7       lfc_seterrbuf ‐ set receiving buffer for error messages
8
9[1mSYNOPSIS[0m
10       [1mint  lfc_seterrbuf  (char  *[4m[22mbuffer[24m[1m,   int
11[4m[22mbuflen[24m[1m)[0m
12
13[1mDESCRIPTION[0m
14       [1mlfc_seterrbuf  [22mtells the name server client API the
15address and the size
16       of the buffer to be used  for  error  messages.  If   this
17routine  is  not
18       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
37LFC                         $Date:    2007/05/14    05:53:52    $
38LFC_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