debian man page for dpns_seterrbuf

Query: dpns_seterrbuf

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DPNS_SETERRBUF(3)					      DPNS Library Functions						 DPNS_SETERRBUF(3)

NAME
dpns_seterrbuf - set receiving buffer for error messages
SYNOPSIS
int dpns_seterrbuf (char *buffer, int buflen)
DESCRIPTION
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 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.
AUTHOR
LCG Grid Deployment Team
DPNS
$Date: 2007/05/14 05:53:52 $ DPNS_SETERRBUF(3)
Related Man Pages
dpns_getreplica(3) - debian
dpns_readdirxr(3) - debian
dpns_readlink(3) - debian
dpns_rmdir(3) - debian
dpns_unlink(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Introduction
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections