aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjarni Ingi Gislason <bjarniig@rhi.hi.is>2020-07-01 22:50:59 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2020-07-02 12:23:21 +0200
commit86d93b3eeb4e9d82dd1b2e02d11ce2add32661f8 (patch)
treebe6c4c8f2f3c75193ca6ce2a30dc7e2df06c55f9
parentf764b4557d9e686e5e930745f2642991183e965d (diff)
downloadman-pages-86d93b3eeb4e9d82dd1b2e02d11ce2add32661f8.tar.gz
man3/*: ffix: change '-' to '\-' for options
Change '-' to '\-' for the prefix of names to indicate an option. Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/dlopen.32
-rw-r--r--man3/fts.32
-rw-r--r--man3/getsubopt.32
-rw-r--r--man3/insque.32
-rw-r--r--man3/mq_getattr.32
-rw-r--r--man3/posix_spawn.38
-rw-r--r--man3/pthread_setname_np.32
-rw-r--r--man3/sincos.32
-rw-r--r--man3/strftime.32
-rw-r--r--man3/system.32
10 files changed, 13 insertions, 13 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3
index c8cfbfb2bd..3b21e8257c 100644
--- a/man3/dlopen.3
+++ b/man3/dlopen.3
@@ -596,7 +596,7 @@ main(void)
The 2013 Technical Corrigendum 1 to POSIX.1-2008 improved matters
by requiring that conforming implementations support casting
'void *' to a function pointer. Nevertheless, some compilers
- (e.g., gcc with the '-pedantic' option) may complain about the
+ (e.g., gcc with the '\-pedantic' option) may complain about the
cast used in this program. */
.\" http://pubs.opengroup.org/onlinepubs/009695399/functions/dlsym.html#tag_03_112_08
.\" http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html#tag_16_96_07
diff --git a/man3/fts.3 b/man3/fts.3
index 374f87158c..62595bb07a 100644
--- a/man3/fts.3
+++ b/man3/fts.3
@@ -822,7 +822,7 @@ In versions of glibc before 2.23,
.\" https://sourceware.org/bugzilla/show_bug.cgi?id=11460
all of the APIs described in this man page are not safe when compiling
a program using the LFS APIs (e.g., when compiling with
-.IR -D_FILE_OFFSET_BITS=64 ).
+.IR \-D_FILE_OFFSET_BITS=64 ).
.\"
.\" The following statement is years old, and seems no closer to
.\" being true -- mtk
diff --git a/man3/getsubopt.3 b/man3/getsubopt.3
index 6cf2d7a82a..cef57fde71 100644
--- a/man3/getsubopt.3
+++ b/man3/getsubopt.3
@@ -53,7 +53,7 @@ parses the list of comma-separated suboptions provided in
(Such a suboption list is typically produced when
.BR getopt (3)
is used to parse a command line;
-see for example the \fI-o\fP option of
+see for example the \fI\-o\fP option of
.BR mount (8).)
Each suboption may include an associated value,
which is separated from the suboption name by an equal sign.
diff --git a/man3/insque.3 b/man3/insque.3
index 2a957f24cb..a9fc285500 100644
--- a/man3/insque.3
+++ b/man3/insque.3
@@ -155,7 +155,7 @@ Here is an example run of the program:
.PP
.in +4n
.EX
-.RB "$ " "./a.out -c a b c"
+.RB "$ " "./a.out \-c a b c"
Traversing completed list:
a
b
diff --git a/man3/mq_getattr.3 b/man3/mq_getattr.3
index 74ef0492f1..7713164722 100644
--- a/man3/mq_getattr.3
+++ b/man3/mq_getattr.3
@@ -185,7 +185,7 @@ can be used to control the defaults:
.PP
.in +4n
.EX
-$ \fBuname -sr\fP
+$ \fBuname \-sr\fP
Linux 3.8.0
$ \fBcat /proc/sys/fs/mqueue/msg_default\fP
10
diff --git a/man3/posix_spawn.3 b/man3/posix_spawn.3
index 7dabe0c156..440629d120 100644
--- a/man3/posix_spawn.3
+++ b/man3/posix_spawn.3
@@ -632,7 +632,7 @@ fails when trying to perform output and exits with a status of 1.
.PP
.in +4
.EX
-$ \fB./a.out -c date\fP
+$ \fB./a.out \-c date\fP
PID of child: 7636
date: write error: Bad file descriptor
Child status: exited, status=1
@@ -656,14 +656,14 @@ can't be blocked).
.PP
.in +4
.EX
-$ \fB./a.out -s sleep 60 &\fP
+$ \fB./a.out \-s sleep 60 &\fP
[1] 7637
$ PID of child: 7638
$ \fBkill 7638\fP
-$ \fBkill -KILL 7638\fP
+$ \fBkill \-KILL 7638\fP
$ Child status: killed by signal 9
-[1]+ Done ./a.out -s sleep 60
+[1]+ Done ./a.out \-s sleep 60
.EE
.in
.PP
diff --git a/man3/pthread_setname_np.3 b/man3/pthread_setname_np.3
index 31e46831d3..8dc090a7b3 100644
--- a/man3/pthread_setname_np.3
+++ b/man3/pthread_setname_np.3
@@ -141,7 +141,7 @@ Created a thread. Default name is: a.out
The thread name after setting it is THREADFOO.
\fB^Z\fP # Suspend the program
[1]+ Stopped ./a.out
-.RB "$ " "ps H -C a.out -o 'pid tid cmd comm'"
+.RB "$ " "ps H \-C a.out \-o 'pid tid cmd comm'"
PID TID CMD COMMAND
5990 5990 ./a.out a.out
5990 5991 ./a.out THREADFOO
diff --git a/man3/sincos.3 b/man3/sincos.3
index b3149af990..7bc7ecda6a 100644
--- a/man3/sincos.3
+++ b/man3/sincos.3
@@ -94,7 +94,7 @@ built-in optimizations, using flags such as:
.PP
.in +4n
.EX
-cc -O \-lm \-fno\-builtin prog.c
+cc \-O \-lm \-fno\-builtin prog.c
.EE
.in
.SH BUGS
diff --git a/man3/strftime.3 b/man3/strftime.3
index c236f7df59..ce4ac62709 100644
--- a/man3/strftime.3
+++ b/man3/strftime.3
@@ -424,7 +424,7 @@ conversion specification corresponds to the full alternative year representation
The
.I +hhmm
or
-.I -hhmm
+.I \-hhmm
numeric timezone (that is, the hour and minute offset from UTC). (SU)
.TP
.B %Z
diff --git a/man3/system.3 b/man3/system.3
index 43ca13a32c..aef40417a8 100644
--- a/man3/system.3
+++ b/man3/system.3
@@ -50,7 +50,7 @@ as follows:
.PP
.in +4n
.EX
-execl("/bin/sh", "sh", "-c", command, (char *) NULL);
+execl("/bin/sh", "sh", "\-c", command, (char *) NULL);
.EE
.in
.PP