summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
authorjmc <>2003-09-02 18:24:21 +0000
committerjmc <>2003-09-02 18:24:21 +0000
commitfca64a525cd51136278627ac29e06b3ba8a31fec (patch)
tree243a16231b32498e906d72c4e01d59fc7d2c5b25 /src/lib/libc/stdlib/getopt.3
parent2192f5aa29c97a3458bffd55d7b561689c91c441 (diff)
downloadopenbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.tar.gz
openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.tar.bz2
openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.zip
escape punctuation;
ok deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/getopt.3')
-rw-r--r--src/lib/libc/stdlib/getopt.38
1 files changed, 4 insertions, 4 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
130or if it detects a missing option argument, 130or if it detects a missing option argument,
131it returns 131it returns
132.Sq ? 132.Sq \&?
133(question mark). 133(question mark).
134If 134If
135.Fa optstring 135.Fa optstring
@@ -138,7 +138,7 @@ has a leading
138then a missing option argument causes 138then a missing option argument causes
139.Sq \: 139.Sq \:
140to be returned instead of 140to be returned instead of
141.Sq ? . 141.Sq \&? .
142In either case, the variable 142In either case, the variable
143.Va optopt 143.Va optopt
144is set to the character that caused the error. 144is set to the character that caused the error.
@@ -179,7 +179,7 @@ or detects
179a missing option argument it writes an error message to 179a missing option argument it writes an error message to
180.Em stderr 180.Em stderr
181and returns 181and returns
182.Ql ? . 182.Ql \&? .
183Setting 183Setting
184.Va opterr 184.Va opterr
185to a zero will disable these error messages. 185to a zero will disable these error messages.