mirror of https://github.com/mkerrisk/man-pages
Removed trailing white space at end of lines
This commit is contained in:
parent
0a8f18a044
commit
51700fd719
|
@ -666,7 +666,7 @@ Records the user level stack, allowing stack unwinding.
|
||||||
.TP
|
.TP
|
||||||
.BR PERF_SAMPLE_WEIGHT " (Since Linux 3.10)"
|
.BR PERF_SAMPLE_WEIGHT " (Since Linux 3.10)"
|
||||||
Records a hardware provided weight value that expresses how
|
Records a hardware provided weight value that expresses how
|
||||||
costly the sampled event was.
|
costly the sampled event was.
|
||||||
This allows the hardware to highlight expensive events in
|
This allows the hardware to highlight expensive events in
|
||||||
a profile.
|
a profile.
|
||||||
.TP
|
.TP
|
||||||
|
@ -887,7 +887,7 @@ bitflag.
|
||||||
.I wakeup_events
|
.I wakeup_events
|
||||||
only counts
|
only counts
|
||||||
.B PERF_RECORD_SAMPLE
|
.B PERF_RECORD_SAMPLE
|
||||||
record types.
|
record types.
|
||||||
To receive a signal for every incoming
|
To receive a signal for every incoming
|
||||||
.B PERF_RECORD
|
.B PERF_RECORD
|
||||||
type set
|
type set
|
||||||
|
@ -1567,7 +1567,7 @@ the
|
||||||
.I sample_regs_user
|
.I sample_regs_user
|
||||||
attr field.
|
attr field.
|
||||||
The number of values is the number of bits set in the
|
The number of values is the number of bits set in the
|
||||||
.I sample_regs_user
|
.I sample_regs_user
|
||||||
bitmask.
|
bitmask.
|
||||||
.TP
|
.TP
|
||||||
.IR size ", " data[size] ", " dyn_size
|
.IR size ", " data[size] ", " dyn_size
|
||||||
|
@ -1585,7 +1585,7 @@ is the amount of data actually dumped (can be less than
|
||||||
.I size
|
.I size
|
||||||
).
|
).
|
||||||
.TP
|
.TP
|
||||||
.I weight
|
.I weight
|
||||||
If
|
If
|
||||||
.B PERF_SAMPLE_WEIGHT
|
.B PERF_SAMPLE_WEIGHT
|
||||||
is enabled, then a 64 bit value provided by the hardwre
|
is enabled, then a 64 bit value provided by the hardwre
|
||||||
|
@ -1594,7 +1594,7 @@ This allows expensive events to stand out more clearly
|
||||||
in profiles.
|
in profiles.
|
||||||
.TP
|
.TP
|
||||||
.I data_src
|
.I data_src
|
||||||
If
|
If
|
||||||
.B PERF_SAMPLE_DATA_SRC
|
.B PERF_SAMPLE_DATA_SRC
|
||||||
is enabled, then a 64 bit value is recorded that is made up of
|
is enabled, then a 64 bit value is recorded that is made up of
|
||||||
the following fields:
|
the following fields:
|
||||||
|
@ -1800,9 +1800,9 @@ file descriptors
|
||||||
Enables the individual event or event group specified by the
|
Enables the individual event or event group specified by the
|
||||||
file descriptor argument.
|
file descriptor argument.
|
||||||
|
|
||||||
If the
|
If the
|
||||||
.B PERF_IOC_FLAG_GROUP
|
.B PERF_IOC_FLAG_GROUP
|
||||||
bit is set in the ioctl argument, then all events in a group are
|
bit is set in the ioctl argument, then all events in a group are
|
||||||
enabled, even if the event specified is not the group leader.
|
enabled, even if the event specified is not the group leader.
|
||||||
.TP
|
.TP
|
||||||
.B PERF_EVENT_IOC_DISABLE
|
.B PERF_EVENT_IOC_DISABLE
|
||||||
|
@ -1816,9 +1816,9 @@ Enabling or disabling a member of a group other than the leader
|
||||||
affects only that counter; disabling a non-leader
|
affects only that counter; disabling a non-leader
|
||||||
stops that counter from counting but doesn't affect any other counter.
|
stops that counter from counting but doesn't affect any other counter.
|
||||||
|
|
||||||
If the
|
If the
|
||||||
.B PERF_IOC_FLAG_GROUP
|
.B PERF_IOC_FLAG_GROUP
|
||||||
bit is set in the ioctl argument, then all events in a group are
|
bit is set in the ioctl argument, then all events in a group are
|
||||||
disabled, even if the event specified is not the group leader.
|
disabled, even if the event specified is not the group leader.
|
||||||
.TP
|
.TP
|
||||||
.B PERF_EVENT_IOC_REFRESH
|
.B PERF_EVENT_IOC_REFRESH
|
||||||
|
@ -1845,16 +1845,16 @@ or
|
||||||
.I time_running
|
.I time_running
|
||||||
values.
|
values.
|
||||||
|
|
||||||
If the
|
If the
|
||||||
.B PERF_IOC_FLAG_GROUP
|
.B PERF_IOC_FLAG_GROUP
|
||||||
bit is set in the ioctl argument, then all events in a group are
|
bit is set in the ioctl argument, then all events in a group are
|
||||||
reset, even if the event specified is not the group leader.
|
reset, even if the event specified is not the group leader.
|
||||||
|
|
||||||
If the
|
If the
|
||||||
.B PERF_IOC_FLAG_GROUP
|
.B PERF_IOC_FLAG_GROUP
|
||||||
bit is not set, then the behavior is somwhat unexpected:
|
bit is not set, then the behavior is somwhat unexpected:
|
||||||
when sent to a group leader only the leader is reset
|
when sent to a group leader only the leader is reset
|
||||||
(children are left alone);
|
(children are left alone);
|
||||||
when sent to a child all events in a group are reset.
|
when sent to a child all events in a group are reset.
|
||||||
.TP
|
.TP
|
||||||
.B PERF_EVENT_IOC_PERIOD
|
.B PERF_EVENT_IOC_PERIOD
|
||||||
|
|
|
@ -71,7 +71,7 @@ has no effect on the process's signal mask.
|
||||||
.BR sigsuspend ()
|
.BR sigsuspend ()
|
||||||
always returns \-1, with
|
always returns \-1, with
|
||||||
.I errno
|
.I errno
|
||||||
set to inndicate the error (normally,
|
set to inndicate the error (normally,
|
||||||
.BR EINTR ).
|
.BR EINTR ).
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -133,7 +133,7 @@ The parameter
|
||||||
Unless
|
Unless
|
||||||
.BR lcong48 ()
|
.BR lcong48 ()
|
||||||
is called,
|
is called,
|
||||||
.IR a
|
.IR a
|
||||||
and
|
and
|
||||||
.I c
|
.I c
|
||||||
are given by:
|
are given by:
|
||||||
|
@ -228,7 +228,7 @@ specify
|
||||||
.I param[3-5]
|
.I param[3-5]
|
||||||
specify
|
specify
|
||||||
.IR a ,
|
.IR a ,
|
||||||
and
|
and
|
||||||
.I param[6]
|
.I param[6]
|
||||||
specifies
|
specifies
|
||||||
.IR c .
|
.IR c .
|
||||||
|
|
|
@ -72,7 +72,7 @@ function computes the floating-point remainder of dividing
|
||||||
by
|
by
|
||||||
.IR y .
|
.IR y .
|
||||||
The return value is
|
The return value is
|
||||||
.IR x
|
.IR x
|
||||||
\-
|
\-
|
||||||
.I n
|
.I n
|
||||||
*
|
*
|
||||||
|
|
|
@ -57,7 +57,7 @@ instead of
|
||||||
.IR long .
|
.IR long .
|
||||||
.LP
|
.LP
|
||||||
On many architectures both
|
On many architectures both
|
||||||
.IR off_t
|
.IR off_t
|
||||||
and
|
and
|
||||||
.I long
|
.I long
|
||||||
are 32-bit types,
|
are 32-bit types,
|
||||||
|
|
|
@ -68,7 +68,7 @@ typedef struct ucontext {
|
||||||
.fi
|
.fi
|
||||||
.in
|
.in
|
||||||
with
|
with
|
||||||
.IR sigset_t
|
.IR sigset_t
|
||||||
and
|
and
|
||||||
.I stack_t
|
.I stack_t
|
||||||
defined in
|
defined in
|
||||||
|
|
|
@ -67,7 +67,7 @@ If
|
||||||
does not exist or
|
does not exist or
|
||||||
is unreadable,
|
is unreadable,
|
||||||
.BR getusershell ()
|
.BR getusershell ()
|
||||||
behaves as if
|
behaves as if
|
||||||
.I /bin/sh
|
.I /bin/sh
|
||||||
and
|
and
|
||||||
.I /bin/csh
|
.I /bin/csh
|
||||||
|
|
|
@ -35,13 +35,13 @@ character encoding
|
||||||
.IR tocode .
|
.IR tocode .
|
||||||
.PP
|
.PP
|
||||||
The values permitted for
|
The values permitted for
|
||||||
.IR fromcode
|
.IR fromcode
|
||||||
and
|
and
|
||||||
.I tocode
|
.I tocode
|
||||||
and the supported
|
and the supported
|
||||||
combinations are system-dependent.
|
combinations are system-dependent.
|
||||||
For the GNU C library, the permitted
|
For the GNU C library, the permitted
|
||||||
values are listed by the
|
values are listed by the
|
||||||
.I "iconv \-\-list"
|
.I "iconv \-\-list"
|
||||||
command, and all combinations
|
command, and all combinations
|
||||||
of the listed values are supported.
|
of the listed values are supported.
|
||||||
|
@ -97,7 +97,7 @@ The following error can occur, among others:
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
The conversion from
|
The conversion from
|
||||||
.IR fromcode
|
.IR fromcode
|
||||||
to
|
to
|
||||||
.I tocode
|
.I tocode
|
||||||
is not supported by the
|
is not supported by the
|
||||||
|
|
|
@ -64,7 +64,7 @@ is returned.
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.I error
|
.I error
|
||||||
is
|
is
|
||||||
.RB \- ERANGE
|
.RB \- ERANGE
|
||||||
(\-Infinity),
|
(\-Infinity),
|
||||||
.RB \- HUGE_VAL
|
.RB \- HUGE_VAL
|
||||||
|
|
|
@ -62,7 +62,7 @@ be promoted to real-floating types).
|
||||||
.BR isgreater ()
|
.BR isgreater ()
|
||||||
determines \fI(x)\ >\ (y)\fP without an exception
|
determines \fI(x)\ >\ (y)\fP without an exception
|
||||||
if
|
if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN.
|
is NaN.
|
||||||
|
@ -70,7 +70,7 @@ is NaN.
|
||||||
.BR isgreaterequal ()
|
.BR isgreaterequal ()
|
||||||
determines \fI(x)\ >=\ (y)\fP without an exception
|
determines \fI(x)\ >=\ (y)\fP without an exception
|
||||||
if
|
if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN.
|
is NaN.
|
||||||
|
@ -78,7 +78,7 @@ is NaN.
|
||||||
.BR isless ()
|
.BR isless ()
|
||||||
determines \fI(x)\ <\ (y)\fP without an exception
|
determines \fI(x)\ <\ (y)\fP without an exception
|
||||||
if
|
if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN.
|
is NaN.
|
||||||
|
@ -86,7 +86,7 @@ is NaN.
|
||||||
.BR islessequal ()
|
.BR islessequal ()
|
||||||
determines \fI(x)\ <=\ (y)\fP without an exception
|
determines \fI(x)\ <=\ (y)\fP without an exception
|
||||||
if
|
if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN.
|
is NaN.
|
||||||
|
@ -94,13 +94,13 @@ is NaN.
|
||||||
.BR islessgreater ()
|
.BR islessgreater ()
|
||||||
determines \fI(x)\ < (y) || (x) >\ (y)\fP
|
determines \fI(x)\ < (y) || (x) >\ (y)\fP
|
||||||
without an exception if
|
without an exception if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN.
|
is NaN.
|
||||||
This macro is not equivalent to \fIx\ !=\ y\fP because that expression is
|
This macro is not equivalent to \fIx\ !=\ y\fP because that expression is
|
||||||
true if
|
true if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN.
|
is NaN.
|
||||||
|
@ -116,7 +116,7 @@ these macros return 0 if either argument is a NaN.
|
||||||
|
|
||||||
.BR isunordered ()
|
.BR isunordered ()
|
||||||
returns 1 if
|
returns 1 if
|
||||||
.IR x
|
.IR x
|
||||||
or
|
or
|
||||||
.I y
|
.I y
|
||||||
is NaN and 0 otherwise.
|
is NaN and 0 otherwise.
|
||||||
|
|
|
@ -52,7 +52,7 @@ Being a subclass of the wide-character class "alpha", the wide-character class
|
||||||
.PP
|
.PP
|
||||||
The wide-character class "upper" contains at least those characters
|
The wide-character class "upper" contains at least those characters
|
||||||
.I wc
|
.I wc
|
||||||
which are equal to
|
which are equal to
|
||||||
.I towupper(wc)
|
.I towupper(wc)
|
||||||
and different from
|
and different from
|
||||||
.IR towlower(wc) .
|
.IR towlower(wc) .
|
||||||
|
|
|
@ -54,7 +54,7 @@ The
|
||||||
.BR localeconv ()
|
.BR localeconv ()
|
||||||
function returns a pointer to a filled in
|
function returns a pointer to a filled in
|
||||||
.IR "struct lconv" .
|
.IR "struct lconv" .
|
||||||
This structure may be (in glibc,
|
This structure may be (in glibc,
|
||||||
.IR is )
|
.IR is )
|
||||||
statically allocated, and may be overwritten by subsequent calls.
|
statically allocated, and may be overwritten by subsequent calls.
|
||||||
According to POSIX,
|
According to POSIX,
|
||||||
|
|
|
@ -43,7 +43,7 @@ and
|
||||||
perform a linear search for
|
perform a linear search for
|
||||||
.I key
|
.I key
|
||||||
in the array
|
in the array
|
||||||
.IR base
|
.IR base
|
||||||
which has
|
which has
|
||||||
.I *nmemb
|
.I *nmemb
|
||||||
elements of
|
elements of
|
||||||
|
|
|
@ -42,7 +42,7 @@ character, it returns the number of bytes that were consumed from
|
||||||
If the multibyte character is the null wide character, it returns 0.
|
If the multibyte character is the null wide character, it returns 0.
|
||||||
.PP
|
.PP
|
||||||
If the
|
If the
|
||||||
.IR n
|
.IR n
|
||||||
bytes starting at
|
bytes starting at
|
||||||
.I s
|
.I s
|
||||||
do not contain a complete multibyte
|
do not contain a complete multibyte
|
||||||
|
|
|
@ -42,7 +42,7 @@ shift state
|
||||||
to the initial state and returns 0.
|
to the initial state and returns 0.
|
||||||
.PP
|
.PP
|
||||||
If the
|
If the
|
||||||
.IR n
|
.IR n
|
||||||
bytes starting at
|
bytes starting at
|
||||||
.I s
|
.I s
|
||||||
do not contain a complete multibyte
|
do not contain a complete multibyte
|
||||||
|
|
|
@ -26,7 +26,7 @@ mbrtowc \- convert a multibyte sequence to a wide character
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The main case for this function is when
|
The main case for this function is when
|
||||||
.IR s
|
.IR s
|
||||||
is not NULL and
|
is not NULL and
|
||||||
.I pwc
|
.I pwc
|
||||||
is
|
is
|
||||||
|
@ -53,7 +53,7 @@ state
|
||||||
to the initial state and returns 0.
|
to the initial state and returns 0.
|
||||||
.PP
|
.PP
|
||||||
If the
|
If the
|
||||||
.IR n
|
.IR n
|
||||||
bytes starting at
|
bytes starting at
|
||||||
.I s
|
.I s
|
||||||
do not contain a complete multibyte
|
do not contain a complete multibyte
|
||||||
|
@ -85,7 +85,7 @@ the effects on
|
||||||
are undefined.
|
are undefined.
|
||||||
.PP
|
.PP
|
||||||
A different case is when
|
A different case is when
|
||||||
.IR s
|
.IR s
|
||||||
is not NULL but
|
is not NULL but
|
||||||
.I pwc
|
.I pwc
|
||||||
is NULL.
|
is NULL.
|
||||||
|
@ -99,7 +99,7 @@ A third case is when
|
||||||
.I s
|
.I s
|
||||||
is NULL.
|
is NULL.
|
||||||
In this case,
|
In this case,
|
||||||
.IR pwc
|
.IR pwc
|
||||||
and
|
and
|
||||||
.I n
|
.I n
|
||||||
are
|
are
|
||||||
|
@ -134,12 +134,12 @@ state known only to the
|
||||||
.BR mbrtowc ()
|
.BR mbrtowc ()
|
||||||
function is used instead.
|
function is used instead.
|
||||||
Otherwise,
|
Otherwise,
|
||||||
.IR *ps
|
.IR *ps
|
||||||
must be a valid
|
must be a valid
|
||||||
.I mbstate_t
|
.I mbstate_t
|
||||||
object.
|
object.
|
||||||
An
|
An
|
||||||
.IR mbstate_t
|
.IR mbstate_t
|
||||||
object
|
object
|
||||||
.I a
|
.I a
|
||||||
can be initialized to the initial state
|
can be initialized to the initial state
|
||||||
|
@ -166,7 +166,7 @@ to
|
||||||
if an invalid multibyte sequence was
|
if an invalid multibyte sequence was
|
||||||
encountered.
|
encountered.
|
||||||
It returns
|
It returns
|
||||||
.I "(size_t)\ \-2"
|
.I "(size_t)\ \-2"
|
||||||
if it couldn't parse a complete multibyte
|
if it couldn't parse a complete multibyte
|
||||||
character, meaning that
|
character, meaning that
|
||||||
.I n
|
.I n
|
||||||
|
|
|
@ -127,7 +127,7 @@ excluding the terminating null wide character,
|
||||||
is returned.
|
is returned.
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR dest
|
.IR dest
|
||||||
is NULL,
|
is NULL,
|
||||||
.I len
|
.I len
|
||||||
is ignored, and the conversion proceeds as
|
is ignored, and the conversion proceeds as
|
||||||
|
|
|
@ -90,7 +90,7 @@ characters written to
|
||||||
excluding the terminating null wide character, is returned.
|
excluding the terminating null wide character, is returned.
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR dest
|
.IR dest
|
||||||
is NULL,
|
is NULL,
|
||||||
.I len
|
.I len
|
||||||
is ignored,
|
is ignored,
|
||||||
|
|
|
@ -68,7 +68,7 @@ characters at
|
||||||
.IR dest .
|
.IR dest .
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR dest
|
.IR dest
|
||||||
is NULL,
|
is NULL,
|
||||||
.I n
|
.I n
|
||||||
is ignored, and the conversion proceeds as
|
is ignored, and the conversion proceeds as
|
||||||
|
|
|
@ -24,7 +24,7 @@ mbtowc \- convert a multibyte sequence to a wide character
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The main case for this function is when
|
The main case for this function is when
|
||||||
.IR s
|
.IR s
|
||||||
is not NULL and
|
is not NULL and
|
||||||
.I pwc
|
.I pwc
|
||||||
is
|
is
|
||||||
|
@ -49,7 +49,7 @@ of bytes that were consumed from
|
||||||
otherwise it returns 0.
|
otherwise it returns 0.
|
||||||
.PP
|
.PP
|
||||||
If the
|
If the
|
||||||
.IR n
|
.IR n
|
||||||
bytes starting at
|
bytes starting at
|
||||||
.I s
|
.I s
|
||||||
do not contain a complete multibyte
|
do not contain a complete multibyte
|
||||||
|
@ -63,7 +63,7 @@ This can happen even if
|
||||||
if the multibyte string contains redundant shift sequences.
|
if the multibyte string contains redundant shift sequences.
|
||||||
.PP
|
.PP
|
||||||
A different case is when
|
A different case is when
|
||||||
.IR s
|
.IR s
|
||||||
is not NULL but
|
is not NULL but
|
||||||
.I pwc
|
.I pwc
|
||||||
is NULL.
|
is NULL.
|
||||||
|
@ -77,7 +77,7 @@ A third case is when
|
||||||
.I s
|
.I s
|
||||||
is NULL.
|
is NULL.
|
||||||
In this case,
|
In this case,
|
||||||
.IR pwc
|
.IR pwc
|
||||||
and
|
and
|
||||||
.I n
|
.I n
|
||||||
are
|
are
|
||||||
|
|
|
@ -57,7 +57,7 @@ The
|
||||||
.BR memccpy ()
|
.BR memccpy ()
|
||||||
function returns a pointer to the next character
|
function returns a pointer to the next character
|
||||||
in
|
in
|
||||||
.IR dest
|
.IR dest
|
||||||
after
|
after
|
||||||
.IR c ,
|
.IR c ,
|
||||||
or NULL if
|
or NULL if
|
||||||
|
|
|
@ -43,7 +43,7 @@ The
|
||||||
.BR memmem ()
|
.BR memmem ()
|
||||||
function finds the start of the first occurrence
|
function finds the start of the first occurrence
|
||||||
of the substring
|
of the substring
|
||||||
.IR needle
|
.IR needle
|
||||||
of length
|
of length
|
||||||
.I needlelen
|
.I needlelen
|
||||||
in the memory
|
in the memory
|
||||||
|
@ -61,7 +61,7 @@ This function is a GNU extension.
|
||||||
.SH BUGS
|
.SH BUGS
|
||||||
This function was broken in Linux libraries up to and including libc 5.0.9;
|
This function was broken in Linux libraries up to and including libc 5.0.9;
|
||||||
there the
|
there the
|
||||||
.IR needle
|
.IR needle
|
||||||
and
|
and
|
||||||
.I haystack
|
.I haystack
|
||||||
arguments were interchanged,
|
arguments were interchanged,
|
||||||
|
|
|
@ -39,7 +39,7 @@ becomes true, it returns
|
||||||
.BR WEOF .
|
.BR WEOF .
|
||||||
If a wide character
|
If a wide character
|
||||||
conversion error occurs, it sets
|
conversion error occurs, it sets
|
||||||
.IR errno
|
.IR errno
|
||||||
to
|
to
|
||||||
.B EILSEQ
|
.B EILSEQ
|
||||||
and returns
|
and returns
|
||||||
|
|
|
@ -78,7 +78,7 @@ can be obtained by including
|
||||||
.\" not in /usr/include but in a gcc lib
|
.\" not in /usr/include but in a gcc lib
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success, these functions return
|
On success, these functions return
|
||||||
.IR x
|
.IR x
|
||||||
*
|
*
|
||||||
.B FLT_RADIX
|
.B FLT_RADIX
|
||||||
**
|
**
|
||||||
|
|
|
@ -94,7 +94,7 @@ can be obtained by including
|
||||||
.\" not in /usr/include but in a gcc lib
|
.\" not in /usr/include but in a gcc lib
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success, these functions return
|
On success, these functions return
|
||||||
.IR x
|
.IR x
|
||||||
*
|
*
|
||||||
.B FLT_RADIX
|
.B FLT_RADIX
|
||||||
**
|
**
|
||||||
|
|
|
@ -74,12 +74,12 @@ If
|
||||||
.I name
|
.I name
|
||||||
does exist in the environment, then
|
does exist in the environment, then
|
||||||
its value is changed to
|
its value is changed to
|
||||||
.IR value
|
.IR value
|
||||||
if
|
if
|
||||||
.I overwrite
|
.I overwrite
|
||||||
is nonzero;
|
is nonzero;
|
||||||
if
|
if
|
||||||
.IR overwrite
|
.IR overwrite
|
||||||
is zero, then the value of
|
is zero, then the value of
|
||||||
.I name
|
.I name
|
||||||
is not
|
is not
|
||||||
|
|
|
@ -82,12 +82,12 @@ the resulting string in
|
||||||
is always null-terminated.
|
is always null-terminated.
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR src
|
.IR src
|
||||||
contains
|
contains
|
||||||
.I n
|
.I n
|
||||||
or more bytes,
|
or more bytes,
|
||||||
.BR strncat ()
|
.BR strncat ()
|
||||||
writes
|
writes
|
||||||
.I n+1
|
.I n+1
|
||||||
bytes to
|
bytes to
|
||||||
.I dest
|
.I dest
|
||||||
|
|
|
@ -98,7 +98,7 @@ the matched character,
|
||||||
or a pointer to the null
|
or a pointer to the null
|
||||||
byte at the end of
|
byte at the end of
|
||||||
.I s
|
.I s
|
||||||
(i.e.,
|
(i.e.,
|
||||||
.IR "s+strlen(s)" )
|
.IR "s+strlen(s)" )
|
||||||
if the character is not found.
|
if the character is not found.
|
||||||
.SH VERSIONS
|
.SH VERSIONS
|
||||||
|
|
|
@ -58,7 +58,7 @@ The
|
||||||
.BR strncmp ()
|
.BR strncmp ()
|
||||||
function is similar, except it compares
|
function is similar, except it compares
|
||||||
the only first (at most)
|
the only first (at most)
|
||||||
.IR n
|
.IR n
|
||||||
bytes of
|
bytes of
|
||||||
.I s1
|
.I s1
|
||||||
and
|
and
|
||||||
|
|
|
@ -69,7 +69,7 @@ as appropriate for the current locale.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SVr4, 4.3BSD, C89, C99.
|
SVr4, 4.3BSD, C89, C99.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
In the
|
In the
|
||||||
.I "POSIX"
|
.I "POSIX"
|
||||||
or
|
or
|
||||||
.I ""C"
|
.I ""C"
|
||||||
|
|
|
@ -349,7 +349,7 @@ Note that the return value 0 does not necessarily indicate an error.
|
||||||
For example, in many locales
|
For example, in many locales
|
||||||
.B %p
|
.B %p
|
||||||
yields an empty string.
|
yields an empty string.
|
||||||
An empty
|
An empty
|
||||||
.I format
|
.I format
|
||||||
string will likewise yield an empty string.
|
string will likewise yield an empty string.
|
||||||
.SH ENVIRONMENT
|
.SH ENVIRONMENT
|
||||||
|
|
|
@ -77,7 +77,7 @@ argument for
|
||||||
.BR strstr ().
|
.BR strstr ().
|
||||||
Later versions (like 4.6.27) work correctly,
|
Later versions (like 4.6.27) work correctly,
|
||||||
and return
|
and return
|
||||||
.IR haystack
|
.IR haystack
|
||||||
when
|
when
|
||||||
.I needle
|
.I needle
|
||||||
is empty.
|
is empty.
|
||||||
|
|
|
@ -89,7 +89,7 @@ that determines the point from which to start searching for the next token.
|
||||||
The first call to
|
The first call to
|
||||||
.BR strtok ()
|
.BR strtok ()
|
||||||
sets this pointer to point to the first byte of the string.
|
sets this pointer to point to the first byte of the string.
|
||||||
The start of the next token is determined by scanning forward
|
The start of the next token is determined by scanning forward
|
||||||
for the next nondelimiter byte in
|
for the next nondelimiter byte in
|
||||||
.IR str .
|
.IR str .
|
||||||
If such a byte is found, it is taken as the start of the next token.
|
If such a byte is found, it is taken as the start of the next token.
|
||||||
|
@ -125,7 +125,7 @@ are always nonempty strings.
|
||||||
Thus, for example, given the string "\fIaaa;;bbb,\fP",
|
Thus, for example, given the string "\fIaaa;;bbb,\fP",
|
||||||
successive calls to
|
successive calls to
|
||||||
.BR strtok ()
|
.BR strtok ()
|
||||||
that specify the delimiter string "\fI;,\fP"
|
that specify the delimiter string "\fI;,\fP"
|
||||||
would return the strings "\fIaaa\fP" and "\fIbbb\fP",
|
would return the strings "\fIaaa\fP" and "\fIbbb\fP",
|
||||||
and then a NULL pointer.
|
and then a NULL pointer.
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ contains an unsupported value.
|
||||||
The resulting value was out of range.
|
The resulting value was out of range.
|
||||||
.LP
|
.LP
|
||||||
The implementation may also set
|
The implementation may also set
|
||||||
.IR errno
|
.IR errno
|
||||||
to
|
to
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
in case
|
in case
|
||||||
|
|
|
@ -157,7 +157,7 @@ contains an unsupported value.
|
||||||
The resulting value was out of range.
|
The resulting value was out of range.
|
||||||
.LP
|
.LP
|
||||||
The implementation may also set
|
The implementation may also set
|
||||||
.IR errno
|
.IR errno
|
||||||
to
|
to
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
in case
|
in case
|
||||||
|
|
|
@ -76,7 +76,7 @@ are indeterminate.
|
||||||
.SH CONFORMING TO
|
.SH CONFORMING TO
|
||||||
SVr4, 4.3BSD, C89, C99.
|
SVr4, 4.3BSD, C89, C99.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
In the
|
In the
|
||||||
.IR POSIX
|
.IR POSIX
|
||||||
or
|
or
|
||||||
.IR C
|
.IR C
|
||||||
|
|
|
@ -31,7 +31,7 @@ function
|
||||||
translates it according to the transliteration descriptor
|
translates it according to the transliteration descriptor
|
||||||
.IR desc .
|
.IR desc .
|
||||||
If
|
If
|
||||||
.IR wc
|
.IR wc
|
||||||
is
|
is
|
||||||
.BR WEOF ,
|
.BR WEOF ,
|
||||||
.B WEOF
|
.B WEOF
|
||||||
|
@ -47,7 +47,7 @@ The
|
||||||
.BR towctrans ()
|
.BR towctrans ()
|
||||||
function returns the translated wide character,
|
function returns the translated wide character,
|
||||||
or
|
or
|
||||||
.BR WEOF
|
.BR WEOF
|
||||||
if
|
if
|
||||||
.I wc
|
.I wc
|
||||||
is
|
is
|
||||||
|
|
|
@ -34,7 +34,7 @@ is a wide character, it is converted to
|
||||||
lowercase.
|
lowercase.
|
||||||
Characters which do not have case are returned unchanged.
|
Characters which do not have case are returned unchanged.
|
||||||
If
|
If
|
||||||
.IR wc
|
.IR wc
|
||||||
is
|
is
|
||||||
.BR WEOF ,
|
.BR WEOF ,
|
||||||
.B WEOF
|
.B WEOF
|
||||||
|
@ -45,7 +45,7 @@ The
|
||||||
function returns the lowercase equivalent of
|
function returns the lowercase equivalent of
|
||||||
.IR wc ,
|
.IR wc ,
|
||||||
or
|
or
|
||||||
.BR WEOF
|
.BR WEOF
|
||||||
if
|
if
|
||||||
.I wc
|
.I wc
|
||||||
is
|
is
|
||||||
|
|
|
@ -34,7 +34,7 @@ is a wide character, it is converted to
|
||||||
uppercase.
|
uppercase.
|
||||||
Characters which do not have case are returned unchanged.
|
Characters which do not have case are returned unchanged.
|
||||||
If
|
If
|
||||||
.IR wc
|
.IR wc
|
||||||
is
|
is
|
||||||
.BR WEOF ,
|
.BR WEOF ,
|
||||||
.B WEOF
|
.B WEOF
|
||||||
|
@ -45,7 +45,7 @@ The
|
||||||
function returns the uppercase equivalent of
|
function returns the uppercase equivalent of
|
||||||
.IR wc ,
|
.IR wc ,
|
||||||
or
|
or
|
||||||
.BR WEOF
|
.BR WEOF
|
||||||
if
|
if
|
||||||
.I wc
|
.I wc
|
||||||
is
|
is
|
||||||
|
|
|
@ -64,7 +64,7 @@ not larger in absolute value.
|
||||||
These functions return the rounded integer value.
|
These functions return the rounded integer value.
|
||||||
|
|
||||||
If
|
If
|
||||||
.IR x
|
.IR x
|
||||||
is integral, infinite, or NaN,
|
is integral, infinite, or NaN,
|
||||||
.I x
|
.I x
|
||||||
itself is returned.
|
itself is returned.
|
||||||
|
|
|
@ -42,7 +42,7 @@ If
|
||||||
.I wc
|
.I wc
|
||||||
is an invalid wide character,
|
is an invalid wide character,
|
||||||
it sets
|
it sets
|
||||||
.IR errno
|
.IR errno
|
||||||
to
|
to
|
||||||
.B EILSEQ
|
.B EILSEQ
|
||||||
and returns
|
and returns
|
||||||
|
@ -69,7 +69,7 @@ level of push-back is guaranteed.
|
||||||
The
|
The
|
||||||
.BR ungetwc ()
|
.BR ungetwc ()
|
||||||
function returns
|
function returns
|
||||||
.IR wc
|
.IR wc
|
||||||
when successful, or
|
when successful, or
|
||||||
.B WEOF
|
.B WEOF
|
||||||
upon
|
upon
|
||||||
|
|
|
@ -122,7 +122,7 @@ excluding the terminating null byte (\(aq\\0\(aq), is
|
||||||
returned.
|
returned.
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR dest
|
.IR dest
|
||||||
is NULL,
|
is NULL,
|
||||||
.I len
|
.I len
|
||||||
is ignored,
|
is ignored,
|
||||||
|
|
|
@ -88,7 +88,7 @@ excluding the terminating null byte (\(aq\\0\(aq),
|
||||||
is returned.
|
is returned.
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR dest
|
.IR dest
|
||||||
is NULL,
|
is NULL,
|
||||||
.I len
|
.I len
|
||||||
is ignored,
|
is ignored,
|
||||||
|
|
|
@ -65,7 +65,7 @@ at
|
||||||
.IR dest .
|
.IR dest .
|
||||||
.PP
|
.PP
|
||||||
If
|
If
|
||||||
.IR dest
|
.IR dest
|
||||||
is NULL,
|
is NULL,
|
||||||
.I n
|
.I n
|
||||||
is ignored, and the conversion proceeds as
|
is ignored, and the conversion proceeds as
|
||||||
|
|
|
@ -29,7 +29,7 @@ type represents a mapping
|
||||||
which can map a wide character to
|
which can map a wide character to
|
||||||
another wide character.
|
another wide character.
|
||||||
Its nature is implementation-dependent, but the special
|
Its nature is implementation-dependent, but the special
|
||||||
value
|
value
|
||||||
.IR "(wctrans_t)\ 0"
|
.IR "(wctrans_t)\ 0"
|
||||||
denotes an invalid mapping.
|
denotes an invalid mapping.
|
||||||
Nonzero
|
Nonzero
|
||||||
|
|
|
@ -29,7 +29,7 @@ function is the wide-character equivalent of the
|
||||||
.BR memchr (3)
|
.BR memchr (3)
|
||||||
function.
|
function.
|
||||||
It searches the
|
It searches the
|
||||||
.IR n
|
.IR n
|
||||||
wide characters starting at
|
wide characters starting at
|
||||||
.I s
|
.I s
|
||||||
for
|
for
|
||||||
|
@ -41,7 +41,7 @@ The
|
||||||
function returns a pointer to the first occurrence of
|
function returns a pointer to the first occurrence of
|
||||||
.I c
|
.I c
|
||||||
among the
|
among the
|
||||||
.IR n
|
.IR n
|
||||||
wide characters starting at
|
wide characters starting at
|
||||||
.IR s ,
|
.IR s ,
|
||||||
or NULL if
|
or NULL if
|
||||||
|
|
|
@ -28,7 +28,7 @@ function is the wide-character equivalent of the
|
||||||
.BR memcmp (3)
|
.BR memcmp (3)
|
||||||
function.
|
function.
|
||||||
It compares the
|
It compares the
|
||||||
.IR n
|
.IR n
|
||||||
wide-characters starting at
|
wide-characters starting at
|
||||||
.I s1
|
.I s1
|
||||||
and the
|
and the
|
||||||
|
@ -42,7 +42,7 @@ function returns
|
||||||
zero if the wide-character arrays of size
|
zero if the wide-character arrays of size
|
||||||
.I n
|
.I n
|
||||||
at
|
at
|
||||||
.IR s1
|
.IR s1
|
||||||
and
|
and
|
||||||
.I s2
|
.I s2
|
||||||
are equal.
|
are equal.
|
||||||
|
|
|
@ -144,7 +144,7 @@ argument, but these functions do not return \-1 upon
|
||||||
buffer overflow on Linux.)
|
buffer overflow on Linux.)
|
||||||
.PP
|
.PP
|
||||||
The treatment of the conversion characters
|
The treatment of the conversion characters
|
||||||
.BR c
|
.BR c
|
||||||
and
|
and
|
||||||
.B s
|
.B s
|
||||||
is different:
|
is different:
|
||||||
|
|
|
@ -16,7 +16,7 @@ console \- console terminal and virtual consoles
|
||||||
A Linux system has up to 63
|
A Linux system has up to 63
|
||||||
.I "virtual consoles"
|
.I "virtual consoles"
|
||||||
(character devices with major number 4 and minor number 1 to 63),
|
(character devices with major number 4 and minor number 1 to 63),
|
||||||
usually called
|
usually called
|
||||||
.I /dev/ttyn
|
.I /dev/ttyn
|
||||||
with 1 \(<=
|
with 1 \(<=
|
||||||
.I n
|
.I n
|
||||||
|
@ -76,7 +76,7 @@ the above mentioned key combinations are according to the default settings.)
|
||||||
.LP
|
.LP
|
||||||
The command
|
The command
|
||||||
.BR deallocvt (1)
|
.BR deallocvt (1)
|
||||||
(formerly
|
(formerly
|
||||||
.BR disalloc )
|
.BR disalloc )
|
||||||
will free the memory taken by the screen buffers for consoles
|
will free the memory taken by the screen buffers for consoles
|
||||||
that no longer have any associated process.
|
that no longer have any associated process.
|
||||||
|
|
|
@ -40,7 +40,7 @@ number 3) is
|
||||||
the slave drive is
|
the slave drive is
|
||||||
.BR hdb .
|
.BR hdb .
|
||||||
The master drive of the second controller (major device number 22)
|
The master drive of the second controller (major device number 22)
|
||||||
is
|
is
|
||||||
.B hdc
|
.B hdc
|
||||||
and the slave
|
and the slave
|
||||||
.BR hdd .
|
.BR hdd .
|
||||||
|
|
|
@ -81,7 +81,7 @@ protocol uses 1 start bit, 7 data bits, no parity
|
||||||
and one stop bit at the speed of 1200 bits/sec.
|
and one stop bit at the speed of 1200 bits/sec.
|
||||||
Data is sent to RxD in 3-byte packets.
|
Data is sent to RxD in 3-byte packets.
|
||||||
The
|
The
|
||||||
.IR dx
|
.IR dx
|
||||||
and
|
and
|
||||||
.I dy
|
.I dy
|
||||||
movements are sent as
|
movements are sent as
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
null, zero \- data sink
|
null, zero \- data sink
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Data written to a
|
Data written to a
|
||||||
.BR null
|
.BR null
|
||||||
or
|
or
|
||||||
.B zero
|
.B zero
|
||||||
special file is discarded.
|
special file is discarded.
|
||||||
|
|
|
@ -62,7 +62,7 @@ the 9th bit position can be fetched by applying the
|
||||||
.B VT_GETHIFONTMASK
|
.B VT_GETHIFONTMASK
|
||||||
operation
|
operation
|
||||||
(available in Linux kernels 2.6.18 and above)
|
(available in Linux kernels 2.6.18 and above)
|
||||||
on
|
on
|
||||||
.IR /dev/tty[1\-63] ;
|
.IR /dev/tty[1\-63] ;
|
||||||
the value is returned in the
|
the value is returned in the
|
||||||
.I "unsigned short"
|
.I "unsigned short"
|
||||||
|
|
|
@ -53,12 +53,12 @@ use boot loader software that is able to pass parameters, such as GRUB.
|
||||||
.\" and
|
.\" and
|
||||||
.\" .BR lilo.conf (5).)
|
.\" .BR lilo.conf (5).)
|
||||||
.\" LILO can boot DOS, OS/2, Linux, FreeBSD, UnixWare, etc., and is quite flexible.
|
.\" LILO can boot DOS, OS/2, Linux, FreeBSD, UnixWare, etc., and is quite flexible.
|
||||||
.\"
|
.\"
|
||||||
.\" The other commonly used Linux loader is 'LoadLin', which is a DOS
|
.\" The other commonly used Linux loader is 'LoadLin', which is a DOS
|
||||||
.\" program that has the capability to launch a Linux kernel from the DOS
|
.\" program that has the capability to launch a Linux kernel from the DOS
|
||||||
.\" prompt (with boot-args) assuming that certain resources are available.
|
.\" prompt (with boot-args) assuming that certain resources are available.
|
||||||
.\" This is good for people that want to launch Linux from DOS.
|
.\" This is good for people that want to launch Linux from DOS.
|
||||||
.\"
|
.\"
|
||||||
.\" It is also very useful if you have certain hardware which relies on
|
.\" It is also very useful if you have certain hardware which relies on
|
||||||
.\" the supplied DOS driver to put the hardware into a known state.
|
.\" the supplied DOS driver to put the hardware into a known state.
|
||||||
.\" A common example is 'SoundBlaster Compatible' sound cards that require
|
.\" A common example is 'SoundBlaster Compatible' sound cards that require
|
||||||
|
@ -428,7 +428,7 @@ a 'ramdisk=N' parameter to tell its size.
|
||||||
These days ram disks use the buffer cache, and grow dynamically.
|
These days ram disks use the buffer cache, and grow dynamically.
|
||||||
For a lot of information in conjunction with the new ramdisk
|
For a lot of information in conjunction with the new ramdisk
|
||||||
setup), see the kernel source file
|
setup), see the kernel source file
|
||||||
.IR Documentation/blockdev/ramdisk.txt
|
.IR Documentation/blockdev/ramdisk.txt
|
||||||
.RI ( Documentation/ramdisk.txt
|
.RI ( Documentation/ramdisk.txt
|
||||||
in older kernels).
|
in older kernels).
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ stack and the sockets API.
|
||||||
4.2BSD was released in 1983.
|
4.2BSD was released in 1983.
|
||||||
|
|
||||||
Earlier major BSD releases included
|
Earlier major BSD releases included
|
||||||
.IR 3BSD
|
.IR 3BSD
|
||||||
(1980),
|
(1980),
|
||||||
.I 4BSD
|
.I 4BSD
|
||||||
(1980),
|
(1980),
|
||||||
|
|
Loading…
Reference in New Issue