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>
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
.\" 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
(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.
.PP
.in +4n
.EX
-.RB "$ " "./a.out -c a b c"
+.RB "$ " "./a.out \-c a b c"
Traversing completed list:
a
b
.PP
.in +4n
.EX
-$ \fBuname -sr\fP
+$ \fBuname \-sr\fP
Linux 3.8.0
$ \fBcat /proc/sys/fs/mqueue/msg_default\fP
10
.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
.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
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
.PP
.in +4n
.EX
-cc -O \-lm \-fno\-builtin prog.c
+cc \-O \-lm \-fno\-builtin prog.c
.EE
.in
.SH BUGS
The
.I +hhmm
or
-.I -hhmm
+.I \-hhmm
numeric timezone (that is, the hour and minute offset from UTC). (SU)
.TP
.B %Z
.PP
.in +4n
.EX
-execl("/bin/sh", "sh", "-c", command, (char *) NULL);
+execl("/bin/sh", "sh", "\-c", command, (char *) NULL);
.EE
.in
.PP