.\" @(#)$RCSfile: dpns_seterrbuf.man,v $ $Revision: 1.2 $ $Date: 2007/05/14 05:53:52 $ CERN IT-PDP/DM Jean-Philippe Baud .\" Copyright (C) 1999-2007 by CERN/IT/PDP/DM .\" All rights reserved .\" .TH DPNS_SETERRBUF 3 "$Date: 2007/05/14 05:53:52 $" DPNS "DPNS Library Functions" .SH NAME dpns_seterrbuf \- set receiving buffer for error messages .SH SYNOPSIS .BI "int dpns_seterrbuf (char *" buffer , .BI "int " buflen ) .SH DESCRIPTION .B dpns_seterrbuf tells the name server client API the address and the size of the buffer to be used for error messages. If this routine is not called or if .I buffer is NULL, the messages are printed on .BR stderr . .SH RETURN VALUE This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, .B serrno is set appropriately. .SH ERRORS .TP 1.3i .B ENOMEM memory could not be allocated for the thread specific information. .SH AUTHOR \fBLCG Grid Deployment\fP Team