confstr.3c (2010 09)

c
confstr(3C) confstr(3C)
_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS
The set of initial options to be given to the
c99 utility to build an application using
a programming model with 32-bit int, long, and pointer types, and an off_t type
using at least 64 bits.
_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS
The set of final options to be given to the
c99 utility to build an application using a
programming model with 32-bit int, long, and pointer types, and an off_t type using
at least 64 bits.
_CS_POSIX_V6_ILP32_OFFBIG_LIBS
The set of libraries to be given to the
c99 utility to build an application using a pro-
gramming model with 32-bit int, long, and pointer types, and an off_t type using at
least 64 bits.
_CS_POSIX_V6_LP64_OFF64_CFLAGS
The set of initial options to be given to the
c99 utility to build an application using
a programming model with 32-bit int and 64-bit long, pointer, and off_t types.
_CS_POSIX_V6_LP64_OFF64_LDFLAGS
The set of final options to be given to the
c99 utility to build an application using a
programming model with 32-bit int and 64-bit long, pointer, and off_t types.
_CS_POSIX_V6_LP64_OFF64_LIBS
The set of libraries to be given to the c99 utility to build an application using a pro-
gramming model with 32-bit int and 64-bit long, pointer, and off_t types.
_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
The set of initial options to be given to the c99 utility to build an application using
a programming model with an int type using at least 32 bits and long, pointer, and
off_t types using at least 64 bits.
_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
The set of final options to be given to the c99 utility to build an application using a
programming model with an int type using at least 32 bits and long, pointer, and
off_t types using at least 64 bits.
_CS_POSIX_V6_LPBIG_OFFBIG_LIBS
The set of libraries to be given to the c99 utility to build an application using a pro-
gramming model with an int type using at least 32 bits and long, pointer, and off_t
types using at least 64 bits.
_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
This value is a <newline>-separated list of names of programming environments
supported by the implementation in which the widths of the blksize_t, cc_t, mode_t,
nfds_t, pid_t, ptrdiff_t, size_t, speed_t, ssize_t, suseconds_t, tcflag_t, useconds_t,
wchar_t, and wint_t types are no greater than the width of type long.
If len is not zero, and if name is known and has a configuration-defined value,
confstr() copies that
value into the len-byte buffer pointed to by buf. If the string to be returned is longer than len bytes,
including the terminating null, confstr() truncates the string to len - 1 bytes and null-terminates the
result. The application can detect that the string was truncated by comparing the value returned by
confstr() with len.
If len is zero and buf is NULL,
confstr() returns the integer value as defined below, but does not
return a string. If len is zero but buf is not NULL, the result is unspecified.
RETURN VALUE
If name is invalid,
confstr() returns zero and sets errno to [EINVAL].
If name does not have a configuration-defined value,
confstr() returns 0 (zero) and leaves errno
unchanged.
If name has a configuration-defined value,
confstr() returns the size of buffer that would be needed to
hold the entire configuration-defined value. If this return value is less than len , the string returned in
buf has been truncated.
HP-UX 11i Version 3: September 2010 3 Hewlett-Packard Company 3