lfc_seterrbuf(3)

lfc_seterrbuf3

Set receiving buffer for error messages

Usage

int lfc_seterrbuf (char *buffer, int buflen)

Overview

lfc_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.

Releases

Unchanged in 5 releases since Debian 6.0 (Squeeze).

  1. 6.0–10

Author

LCG Grid Deployment Team

From liblfc-dev 1.10.0-2+b3 in Debian 10 (Buster). Parsed by carta from the page's man source.