Poster of Linux kernelThe best gift for a Linux geek
DPM_SETERRBUF

DPM_SETERRBUF

Section: DPM Library Functions (3) Updated: $Date: 2007/05/14 05:53:52 $
Local index Up
 

NAME

dpm_seterrbuf - set receiving buffer for error messages  

SYNOPSIS

int dpm_seterrbuf (char *buffer, int buflen)  

DESCRIPTION

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.  

RETURN VALUE

This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.  

ERRORS

ENOMEM
memory could not be allocated for the thread specific information.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS

This document was created by man2html, using the manual pages.
Time: 21:45:14 GMT, April 16, 2011