1DPM_SETERRBUF(3) DPM Library Functions DPM_SETERRBUF(3)
2
3
4
6 dpm_seterrbuf - set receiving buffer for error messages
7
9 int dpm_seterrbuf (char *buffer, int buflen)
10
12 dpm_seterrbuf tells the Disk Pool Manager client API the address and
13 the size of the buffer to be used for error messages. If this routine
14 is not called or if buffer is NULL, the messages are printed on stderr.
15
17 This routine returns 0 if the operation was successful or -1 if the
18 operation failed. In the latter case, serrno is set appropriately.
19
21 ENOMEM memory could not be allocated for the thread specific
22 information.
23
24
25
26LCG $Date: 2007/05/14 05:53:52 $ DPM_SETERRBUF(3)