normalize a
.I timeval
with nanosecond resolution.
-.PP
-.in +12n
+.IP
+.in +4n
.EX
while (buf.time.tv_usec < 0) {
buf.time.tv_sec -= 1;
.IR val3 .
Pictorially, the encoding is:
.IP
-.in +8n
+.in +4n
.EX
+---+---+-----------+-----------+
|op |cmp| oparg | cmparg |
unsigned short semzcnt; /* # waiting for zero */
unsigned short semncnt; /* # waiting for increase */
pid_t sempid; /* PID of process that last
-.in
.EE
+.in
.PP
.BR semop ()
performs operations on selected semaphores in the set indicated by
The following (edited) output shows an example of the
contents of this file:
.PP
-.in 0
.EX
$ \fBsudo cat /proc/slabinfo\fP
slabinfo - version: 2.1
kmalloc-8192 96 96 8192 4 8 : tunables 0 0 0 : slabdata 24 24 0
\&...
.EE
-.in
.PP
The first line of output includes a version number,
which allows an application that is reading the file to handle changes
.PP
.BI "int acct(const char *" filename );
.PP
+.RS -4
.EX
-.in -4n
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.EE
-.in
+.RS
.PP
.BR acct ():
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
(with the columns numbered for easy reference below)
is the following:
.IP
-.in 0n
.EX
(1) (2) (3)(4) (5) (6) (7) (8) (9)
009a2028 I--Q--- 1 perm 3f010000 1000 1000 user krb_ccache:primary: 12
32a387ea I--Q--- 1 perm 3f010000 1000 1000 keyring _pid: 2
3ce56aea I--Q--- 5 perm 3f030000 1000 1000 keyring _ses: 1
.EE
-.in
.IP
The fields shown in each line of this file are as follows:
.RS