1t_sysconf(3NSL)      Networking Services Library Functions     t_sysconf(3NSL)
2
3
4

NAME

6       t_sysconf - get configurable XTI variables
7

SYNOPSIS

9       #include <xti.h>
10
11
12
13       int t_sysconf(intname);
14
15

DESCRIPTION

17       The   t_sysconf()  function  provides  a  method for the application to
18       determine the current value of configurable and   implementation-depen‐
19       dent XTI limits or options.
20
21
22       The   name  argument  represents the XTI system variable to be queried.
23       The following table lists the minimal set of XTI system variables  from
24       <xti.h>  that  can  be  returned by  t_sysconf(), and the symbolic con‐
25       stants, defined in  <xti.h> that are the corresponding values used  for
26       name.
27
28
29
30
31       ┌─────────────────────────────┬─────────────────────────────┐
32       │         Variable            │       Value of Name         │
33       ├─────────────────────────────┼─────────────────────────────┤
34       │T_IOV_MAX                    │_SC_T_IOV_MAX                │
35       └─────────────────────────────┴─────────────────────────────┘
36

RETURN VALUES

38       If   name  is  valid,   t_sysconf()  returns the value of the requested
39       limit/option, which might be  -1, and leaves  t_errno unchanged. Other‐
40       wise,  a  value  of   -1 is returned and  t_errno is set to indicate an
41       error.
42

VALID STATES

44       All.
45

ERRORS

47       On failure,  t_errno is set to the following:
48
49       TBADFLAG    name has an invalid value.
50
51

TLI COMPATIBILITY

53       In the TLI interface definition, no counterpart  of  this  routine  was
54       defined.
55

ATTRIBUTES

57       See attributes(5) for descriptions of the following attributes:
58
59
60
61
62       ┌─────────────────────────────┬─────────────────────────────┐
63       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
64       ├─────────────────────────────┼─────────────────────────────┤
65       │MT-Level                     │MT-Safe                      │
66       └─────────────────────────────┴─────────────────────────────┘
67

SEE ALSO

69       sysconf(3C),  t_rcvv(3NSL),  t_rcvvudata(3NSL),  t_sndv(3NSL), t_sndvu‐
70       data(3NSL), attributes(5)
71
72
73
74SunOS 5.11                        7 May 1998                   t_sysconf(3NSL)
Impressum