1DPNS_SETERRBUF(3)           DPNS Library Functions           DPNS_SETERRBUF(3)
2
3
4

NAME

6       dpns_seterrbuf - set receiving buffer for error messages
7

SYNOPSIS

9       int dpns_seterrbuf (char *buffer, int buflen)
10

DESCRIPTION

12       dpns_seterrbuf  tells  the  name  server client API the address and the
13       size of the buffer to be used for error messages. If  this  routine  is
14       not called or if buffer is NULL, the messages are printed on stderr.
15

RETURN VALUE

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

ERRORS

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

AUTHOR

25       LCG Grid Deployment Team
26
27
28
29DPNS                     $Date: 2007/05/14 05:53:52 $        DPNS_SETERRBUF(3)
Impressum