1DPM_SETERRBUF(3)                  DPM      Library      Functions
2DPM_SETERRBUF(3)
3
4
5
6[1mNAME[0m
7       dpm_seterrbuf ‐ set receiving buffer for error messages
8
9[1mSYNOPSIS[0m
10       [1mint  dpm_seterrbuf  (char  *[4m[22mbuffer[24m[1m,   int
11[4m[22mbuflen[24m[1m)[0m
12
13[1mDESCRIPTION[0m
14       [1mdpm_seterrbuf  [22mtells  the  Disk Pool Manager client
15API the address and
16       the size of the buffer to be used for error  messages.  If
17this  routine
18       is  not  called  or if [4mbuffer[24m is NULL, the messages
19are printed 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
33
34LCG                         $Date:    2007/05/14    05:53:52    $
35DPM_SETERRBUF(3)
36
37
38
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