Networking Services Library Functions tsysconf(3NSL)
NAME
tsysconf - get configurable XTI variables
SYNOPSIS
#include
int tsysconf(intname);
DESCRIPTION
The tsysconf() function provides a method for the applica-
tion to determine the current value of configurable and
implementation-dependent XTI limits or options.
The name argument represents the XTI system variable to be
queried. The following table lists the minimal set of XTI
system variables from that can be returned by
tsysconf(), and the symbolic constants, defined in
that are the corresponding values used for name.
Variable Value of Name
TIOVMAX SCTIOVMAX
RETURN VALUES
If name is valid, tsysconf() returns the value of the
requested limit/option, which might be -1, and leaves
terrno unchanged. Otherwise, a value of -1 is returned and
terrno is set to indicate an error.
VALID STATES
All.
ERORS
On failure, terrno is set to the following:
TBADFLAG name has an invalid value.
TLI COMPATIBILITY
In the TLI interface definition, no counterpart of this rou-
tine was defined.
SunOS 5.11 Last change: 7 May 1998 1
Networking Services Library Functions tsysconf(3NSL)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
MT-Level MT-Safe
SEE ALSO
sysconf(3C), trcvv(3NSL), trcvvudata(3NSL), tsndv(3NSL),
tsndvudata(3NSL), attributes(5)
SunOS 5.11 Last change: 7 May 1998 2
|