aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/execve.24
-rw-r--r--man2/getdents.24
-rw-r--r--man3/strcpy.32
-rw-r--r--man5/core.52
-rw-r--r--man5/proc.54
-rw-r--r--man7/feature_test_macros.78
-rw-r--r--man7/man-pages.72
-rw-r--r--man7/mq_overview.74
-rw-r--r--man7/suffixes.74
9 files changed, 17 insertions, 17 deletions
diff --git a/man2/execve.2 b/man2/execve.2
index b1fc9714a3..3b72c969fc 100644
--- a/man2/execve.2
+++ b/man2/execve.2
@@ -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
diff --git a/man2/getdents.2 b/man2/getdents.2
index e45cd7ad21..3076db21df 100644
--- a/man2/getdents.2
+++ b/man2/getdents.2
@@ -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
diff --git a/man3/strcpy.3 b/man3/strcpy.3
index 1911d63748..7a8091f7c4 100644
--- a/man3/strcpy.3
+++ b/man3/strcpy.3
@@ -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
diff --git a/man5/core.5 b/man5/core.5
index 3073656aa3..366011a83c 100644
--- a/man5/core.5
+++ b/man5/core.5
@@ -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" > \\
diff --git a/man5/proc.5 b/man5/proc.5
index 75496ddd17..05bd8b78c4 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -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;
diff --git a/man7/feature_test_macros.7 b/man7/feature_test_macros.7
index ce4cf4ea71..fbb26021c5 100644
--- a/man7/feature_test_macros.7
+++ b/man7/feature_test_macros.7
@@ -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
diff --git a/man7/man-pages.7 b/man7/man-pages.7
index 0dd6c77b99..0115a253f3 100644
--- a/man7/man-pages.7
+++ b/man7/man-pages.7
@@ -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
diff --git a/man7/mq_overview.7 b/man7/mq_overview.7
index 572b8080ac..313a7d749d 100644
--- a/man7/mq_overview.7
+++ b/man7/mq_overview.7
@@ -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
diff --git a/man7/suffixes.7 b/man7/suffixes.7
index 6f558f0ebc..f9ba98f3fc 100644
--- a/man7/suffixes.7
+++ b/man7/suffixes.7
@@ -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