diff options
author | jmc <> | 2003-09-02 18:24:21 +0000 |
---|---|---|
committer | jmc <> | 2003-09-02 18:24:21 +0000 |
commit | fca64a525cd51136278627ac29e06b3ba8a31fec (patch) | |
tree | 243a16231b32498e906d72c4e01d59fc7d2c5b25 | |
parent | 2192f5aa29c97a3458bffd55d7b561689c91c441 (diff) | |
download | openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.tar.gz openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.tar.bz2 openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.zip |
escape punctuation;
ok deraadt@
-rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 8 | ||||
-rw-r--r-- | src/lib/libc/stdlib/getopt_long.3 | 4 | ||||
-rw-r--r-- | src/lib/libc/string/strmode.3 | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 3fa17340de..9b27b70e65 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
@@ -25,7 +25,7 @@ | |||
25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
26 | .\" SUCH DAMAGE. | 26 | .\" SUCH DAMAGE. |
27 | .\" | 27 | .\" |
28 | .\" $OpenBSD: getopt.3,v 1.25 2003/06/02 20:18:37 millert Exp $ | 28 | .\" $OpenBSD: getopt.3,v 1.26 2003/09/02 18:24:21 jmc Exp $ |
29 | .\" | 29 | .\" |
30 | .Dd December 17, 2002 | 30 | .Dd December 17, 2002 |
31 | .Dt GETOPT 3 | 31 | .Dt GETOPT 3 |
@@ -129,7 +129,7 @@ encounters a character not found in | |||
129 | .Fa optstring | 129 | .Fa optstring |
130 | or if it detects a missing option argument, | 130 | or if it detects a missing option argument, |
131 | it returns | 131 | it returns |
132 | .Sq ? | 132 | .Sq \&? |
133 | (question mark). | 133 | (question mark). |
134 | If | 134 | If |
135 | .Fa optstring | 135 | .Fa optstring |
@@ -138,7 +138,7 @@ has a leading | |||
138 | then a missing option argument causes | 138 | then a missing option argument causes |
139 | .Sq \: | 139 | .Sq \: |
140 | to be returned instead of | 140 | to be returned instead of |
141 | .Sq ? . | 141 | .Sq \&? . |
142 | In either case, the variable | 142 | In either case, the variable |
143 | .Va optopt | 143 | .Va optopt |
144 | is set to the character that caused the error. | 144 | is set to the character that caused the error. |
@@ -179,7 +179,7 @@ or detects | |||
179 | a missing option argument it writes an error message to | 179 | a missing option argument it writes an error message to |
180 | .Em stderr | 180 | .Em stderr |
181 | and returns | 181 | and returns |
182 | .Ql ? . | 182 | .Ql \&? . |
183 | Setting | 183 | Setting |
184 | .Va opterr | 184 | .Va opterr |
185 | to a zero will disable these error messages. | 185 | to a zero will disable these error messages. |
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3 index 1df792d178..6226dfe99f 100644 --- a/src/lib/libc/stdlib/getopt_long.3 +++ b/src/lib/libc/stdlib/getopt_long.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: getopt_long.3,v 1.8 2003/06/02 20:18:37 millert Exp $ | 1 | .\" $OpenBSD: getopt_long.3,v 1.9 2003/09/02 18:24:21 jmc Exp $ |
2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ | 2 | .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ |
3 | .\" | 3 | .\" |
4 | .\" Copyright (c) 1988, 1991, 1993 | 4 | .\" Copyright (c) 1988, 1991, 1993 |
@@ -183,7 +183,7 @@ in the location pointed to by | |||
183 | These functions return | 183 | These functions return |
184 | .Sq \: | 184 | .Sq \: |
185 | if there was a missing option argument, | 185 | if there was a missing option argument, |
186 | .Sq ? | 186 | .Sq \&? |
187 | if the user specified an unknown or ambiguous option, and | 187 | if the user specified an unknown or ambiguous option, and |
188 | \-1 when the argument list has been exhausted. | 188 | \-1 when the argument list has been exhausted. |
189 | .Sh EXAMPLES | 189 | .Sh EXAMPLES |
diff --git a/src/lib/libc/string/strmode.3 b/src/lib/libc/string/strmode.3 index 56651e16ba..bc45c4ce1f 100644 --- a/src/lib/libc/string/strmode.3 +++ b/src/lib/libc/string/strmode.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strmode.3,v 1.10 2003/06/02 20:18:38 millert Exp $ | 1 | .\" $OpenBSD: strmode.3,v 1.11 2003/09/02 18:24:21 jmc Exp $ |
2 | .\" | 2 | .\" |
3 | .\" Copyright (c) 1990, 1991, 1993 | 3 | .\" Copyright (c) 1990, 1991, 1993 |
4 | .\" The Regents of the University of California. All rights reserved. | 4 | .\" The Regents of the University of California. All rights reserved. |
@@ -69,7 +69,7 @@ FIFO | |||
69 | socket | 69 | socket |
70 | .It w | 70 | .It w |
71 | whiteout | 71 | whiteout |
72 | .It ? | 72 | .It \&? |
73 | unknown inode type | 73 | unknown inode type |
74 | .El | 74 | .El |
75 | .Pp | 75 | .Pp |