Provided by: libdpm-dev_1.13.0-1_amd64
dpm_seterrbuf - set receiving buffer for error messages
int dpm_seterrbuf (char *buffer, int buflen)
dpm_seterrbuf tells 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 buffer is NULL, the messages are printed on stderr.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ENOMEM memory could not be allocated for the thread specific information.