mirror of https://github.com/mkerrisk/man-pages
ffixes
This commit is contained in:
parent
2f6b8245d1
commit
5b8dbfd4d0
|
@ -556,8 +556,8 @@ We can use the second program to exec the first as follows:
|
|||
|
||||
.in +4n
|
||||
.nf
|
||||
$ cc myecho.c -o myecho
|
||||
$ cc execve.c -o execve
|
||||
$ cc myecho.c \-o myecho
|
||||
$ cc execve.c \-o execve
|
||||
$ ./execve ./myecho
|
||||
argv[0]: ./myecho
|
||||
argv[1]: hello
|
||||
|
|
|
@ -68,11 +68,11 @@ struct linux_dirent {
|
|||
unsigned long d_off; /* Offset to next \fIdirent\fP */
|
||||
unsigned short d_reclen; /* Length of this \fIdirent\fP */
|
||||
char d_name []; /* Filename (null-terminated) */
|
||||
/* length is actually (d_reclen - 2 -
|
||||
/* length is actually (d_reclen \- 2 \-
|
||||
offsetof(struct linux_dirent, d_name) */
|
||||
/* char pad; Zero padding byte */
|
||||
/* char d_type; File type (only since Linux 2.6.4;
|
||||
offset is (d_reclen - 1)) */
|
||||
offset is (d_reclen \- 1)) */
|
||||
|
||||
}
|
||||
.fi
|
||||
|
|
|
@ -117,7 +117,7 @@ as follows:
|
|||
|
||||
strncpy(buf, str, n);
|
||||
if (n > 0)
|
||||
buf[n - 1]= \(aq\\0\(aq;
|
||||
buf[n \- 1]= \(aq\\0\(aq;
|
||||
.fi
|
||||
.in
|
||||
.SH BUGS
|
||||
|
|
|
@ -282,7 +282,7 @@ The following shell session demonstrates the use of this program
|
|||
.PP
|
||||
.in +4n
|
||||
.nf
|
||||
$ cc -o core_pattern_pipe_test core_pattern_pipe_test.c
|
||||
$ cc \-o core_pattern_pipe_test core_pattern_pipe_test.c
|
||||
$ su
|
||||
Password:
|
||||
# echo "|$PWD/core_pattern_pipe_test %p UID=%u GID=%g sig=%s" > \\
|
||||
|
|
|
@ -488,8 +488,8 @@ should be killed in an out-of-memory (OOM) situation.
|
|||
The kernel uses this value for a bit-shift operation of the process's
|
||||
.IR oom_score
|
||||
value:
|
||||
valid values are in the range -16 to +15,
|
||||
plus the special value -17,
|
||||
valid values are in the range \-16 to +15,
|
||||
plus the special value \-17,
|
||||
which disables OOM-killing altogether for this process.
|
||||
A positive score increases the likelihood of this
|
||||
process being killed by the OOM-killer;
|
||||
|
|
|
@ -93,8 +93,8 @@ compilation command:
|
|||
.RS
|
||||
.nf
|
||||
|
||||
cc -D_BSD_SOURCE
|
||||
cc -D_XOPEN_SOURCE=500 # Or any value > 500
|
||||
cc \-D_BSD_SOURCE
|
||||
cc \-D_XOPEN_SOURCE=500 # Or any value > 500
|
||||
.fi
|
||||
.RE
|
||||
.PP
|
||||
|
@ -277,7 +277,7 @@ Where standards conflict, BSD definitions are disfavored.
|
|||
.B _REENTRANT
|
||||
Defining this macro exposes definitions of certain reentrant functions.
|
||||
For multithreaded programs, use
|
||||
.I "cc -pthread"
|
||||
.I "cc\ \-pthread"
|
||||
instead.
|
||||
.TP
|
||||
.B _THREAD_SAFE
|
||||
|
@ -316,7 +316,7 @@ and
|
|||
If
|
||||
.B _FORTIFY_SOURCE
|
||||
is set to 1, with compiler optimization level 1
|
||||
.RI ( "gcc -O1" )
|
||||
.RI ( "gcc\ \-O1" )
|
||||
and above, checks that shouldn't change the behavior of
|
||||
conforming programs are performed.
|
||||
With
|
||||
|
|
|
@ -502,7 +502,7 @@ library function calls.
|
|||
.TP
|
||||
*
|
||||
Example programs should be complete, and compile without
|
||||
warnings when compiled with \fIcc -Wall\fP.
|
||||
warnings when compiled with \fIcc\ \-Wall\fP.
|
||||
.TP
|
||||
*
|
||||
Where possible and appropriate, example programs should allow
|
||||
|
|
|
@ -193,7 +193,7 @@ This file system can be mounted using the following commands:
|
|||
.nf
|
||||
|
||||
$ mkdir /dev/mqueue
|
||||
$ mount -t mqueue none /dev/mqueue
|
||||
$ mount \-t mqueue none /dev/mqueue
|
||||
|
||||
.fi
|
||||
.in
|
||||
|
@ -213,7 +213,7 @@ containing information about the queue:
|
|||
|
||||
$ ls /dev/mqueue/mymq
|
||||
QSIZE:129 NOTIFY:2 SIGNO:0 NOTIFY_PID:8260
|
||||
$ mount -t mqueue none /dev/mqueue
|
||||
$ mount \-t mqueue none /dev/mqueue
|
||||
|
||||
.fi
|
||||
.in
|
||||
|
|
|
@ -87,9 +87,9 @@ Suffix File type
|
|||
.bak backup file
|
||||
.bash \fBbash\fP(1) shell script
|
||||
.bb basic block list data produced by
|
||||
gcc -ftest-coverage
|
||||
gcc \-ftest\-coverage
|
||||
.bbg basic block graph data produced by
|
||||
gcc -ftest-coverage
|
||||
gcc \-ftest\-coverage
|
||||
.bbl BibTeX output
|
||||
.bdf X font file
|
||||
.bib TeX bibliographic database, BibTeX input
|
||||
|
|
Loading…
Reference in New Issue