.SH ENVIRONMENT
The variables
.BR LANG ,
-.BR LC_ALL ,
+.BR LC_ALL ,
.BR LC_CTYPE ,
.BR LC_MESSAGES ,
.BR LC_NUMERIC ,
.SH NOTES
The portable interface to the capability querying and setting
functions is provided by the
-.B libcap
+.I libcap
library and is available from here:
.br
-.B ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs
+.I ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs
.SH "SEE ALSO"
.BR clone (2),
.BR gettid (2),
dissolve the association by connecting to an address with the
.I sa_family
member of
-.B sockaddr
+.I sockaddr
set to
.BR AF_UNSPEC .
.SH "RETURN VALUE"
For
.B PF_INET
see the
-.B net.ipv4.ip_local_port_range
+.I net.ipv4.ip_local_port_range
sysctl in
.BR ip (7)
on how to increase the number of local ports.
The
.I optlen
argument of
-.BR getsockopt " and " setsockopt
+.BR getsockopt ()
+and
+.BR setsockopt ()
is in reality an
.I "int [*]"
(and this is what 4.x BSD and libc4 and libc5 have).
The prototype for
.BR settimeofday ()
and the defines for
-.BR timercmp ,
-.BR timerisset ,
-.BR timerclear ,
-.BR timeradd ,
-.BR timersub
+.BR timercmp (),
+.BR timerisset (),
+.BR timerclear (),
+.BR timeradd (),
+.BR timersub ()
are (since glibc 2.2.2) only available if
.B _BSD_SOURCE
is defined.
instead of the number of incomplete connection requests.
The maximum length of the queue for incomplete sockets
can be set using the
-.B tcp_max_syn_backlog
+.I tcp_max_syn_backlog
sysctl.
When syncookies are enabled there is no logical maximum
length and this sysctl setting is ignored.
listed below and the permissions for the new node.
The permissions are modified by the process's
-.BR umask
+.IR umask
in the usual way: the permissions of the created node are
-.BR "(mode & ~umask)" .
+.IR "(mode & ~umask)" .
The file type must be one of
.BR S_IFREG ,
specifies the permissions to use in case a new file is created.
It is
modified by the process's
-.BR umask
+.IR umask
in the usual way: the permissions of the created file are
-.BR "(mode & ~umask)" .
+.IR "(mode & ~umask)" .
Note that this mode only applies to future accesses of the
newly created file; the
.BR open ()
cannot send signals to or those running
set-user-ID/set-group-ID programs, for obvious reasons.
Alternatively, the process may already be being traced, or be
-.BR init
+.BR init (8)
(PID 1).
.TP
.B ESRCH
.fi
.in -0.25i
.IP
-.B ee_errno
+.I ee_errno
contains the
.I errno
number of the queued error.
-.B ee_origin
+.I ee_origin
is the origin code of where the error originated.
The other fields are protocol specific.
The macro
If this address is not known, the
.I sa_family
member of the
-.B sockaddr
+.I sockaddr
contains
.B AF_UNSPEC
and the other fields of the
-.B sockaddr
+.I sockaddr
are undefined.
The payload of the packet that caused the error is passed as normal data.
.IP
.TP
.B EEXIST
A semaphore set exists for
-.B key
+.I key
and
.I semflg
specified both
except that in those cases were the calling process would sleep,
the duration of that sleep is limited by the amount of elapsed
time specified by the
-.B timespec
+.I timespec
structure whose address is passed in the
.I timeout
parameter.
members.
The maximum control buffer length the kernel can process is limited
per socket by the
-.B net.core.optmem_max
+.I net.core.optmem_max
sysctl; see
.BR socket (7).
.\" Still to be documented:
.I uid
does not match the current uid and
.I uid
-brings process over its
+brings process over its
.BR RLIMIT_NPROC
resource limit.
.TP
A successful
.BR shmat ()
call updates the members of the
-.B shmid_ds
+.I shmid_ds
structure (see
.BR shmctl (2))
associated with the shared memory segment as follows:
safely called inside from inside a signal handler.
.PP
The use of
-.B sighandler_t
+.I sighandler_t
is a GNU extension.
Various versions of libc predefine this type; libc4 and libc5 define
.IR SignalHandler ,
and directories created there will also get the
.B S_ISGID
bit set.
-For a file that does not have the group execution bit
+For a file that does not have the group execution bit
.RB ( S_IXGRP )
set,
the set-group-ID bit indicates mandatory file/record locking.
and possibly on a single system when NFS mounts are involved.)
.LP
POSIX does not describe the
-.BR S_IFMT ,
-.BR S_IFSOCK ,
-.BR S_IFLNK ,
-.BR S_IFREG ,
+.BR S_IFMT ,
+.BR S_IFSOCK ,
+.BR S_IFLNK ,
+.BR S_IFREG ,
.BR S_IFBLK ,
-.BR S_IFDIR ,
-.BR S_IFCHR ,
-.BR S_IFIFO ,
+.BR S_IFDIR ,
+.BR S_IFCHR ,
+.BR S_IFIFO ,
.BR S_ISVTX
bits, but instead demands the use of
the macros
POSIX.1-1996, but both are present in POSIX.1-2001;
the former is from SVID 4, the latter from SUSv2.
.LP
-Unix V7 (and later systems) had
-.BR S_IREAD ,
-.BR S_IWRITE ,
+Unix V7 (and later systems) had
+.BR S_IREAD ,
+.BR S_IWRITE ,
.BR S_IEXEC ,
where POSIX
-prescribes the synonyms
-.BR S_IRUSR ,
-.BR S_IWUSR ,
+prescribes the synonyms
+.BR S_IRUSR ,
+.BR S_IWUSR ,
.BR S_IXUSR .
.SS "Other Systems"
Values that have been (or are) in use on various systems:
.fi
Here the types
-.B fsblkcnt_t
+.I fsblkcnt_t
and
-.B fsfilcnt_t
+.I fsfilcnt_t
are defined in
.IR <sys/types.h> .
Both used to be
.SH NOTES
.SS Notes on the GNU Version
Normally,
-.B gcc
+.B gcc (1)
translates calls to
.BR alloca ()
by inlined code.
for details.
The use of
-.B sighandler_t
+.I sighandler_t
is a GNU extension;
-this type is only defined if
-the
+this type is only defined if the
.B _GNU_SOURCE
feature test macro is defined.
.SH "SEE ALSO"
.\" .IR "and should be set to 0" .
It is unclear what the source was for the constants
.B MCLoadBySet
-and
+and
.B MCLoadAll
(see below).
.SH NOTES
function returns an approximation of processor time used by the program.
.SH "RETURN VALUE"
The value returned is the CPU time used so far as a
-.BR clock_t ;
+.IR clock_t ;
to get the number of seconds used, divide by
.BR CLOCKS_PER_SEC .
If the processor time used is not available or its value cannot
-be represented, the function returns the value (clock_t)\-1.
+be represented, the function returns the value
+.BR (clock_t)\-1 .
.SH "CONFORMING TO"
C89, C99, POSIX.1-2001.
POSIX requires that CLOCKS_PER_SEC equals 1000000 independent
.BR _SC_PASS_MAX .
Glibc2 accepts
.BR _SC_PASS_MAX
-and returns
+and returns
.B BUFSIZ
(e.g., 8192).
.SH BUGS
is inspected,
next the environment variable with the same name as the category
.RM ( LC_COLLATE ,
-.BR LC_CTYPE ,
-.BR LC_MESSAGES ,
-.BR LC_MONETARY ,
-.BR LC_NUMERIC ,
+.BR LC_CTYPE ,
+.BR LC_MESSAGES ,
+.BR LC_MONETARY ,
+.BR LC_NUMERIC ,
.BR LC_TIME )
and finally the environment variable
.BR LANG .