dpm_seterrbuf man page

DPM_SETERRBUF(3)             DPM Library Functions            DPM_SETERRBUF(3)

      dpm_seterrbuf - set receiving buffer for error messages

      [1mint dpm_seterrbuf (char *[4m[22mbuffer[24m[1m, int [4m[22mbuflen[24m[1m)[0m

      [1mdpm_seterrbuf  [22mtells  the  Disk Pool Manager client API the address and
      the size of the buffer to be used for error messages. If  this  routine
      is not called or if [4mbuffer[24m is NULL, the messages are printed on [1mstderr[22m.

      This  routine  returns  0  if the operation was successful or -1 if the
      operation failed. In the latter case, [1mserrno [22mis set appropriately.

      [1mENOMEM       [22mmemory could not be  allocated  for  the  thread  specific

LCG                      $Date: 2007/05/14 05:53:52 $         DPM_SETERRBUF(3)