summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/getopt.3c
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
committerYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
commited22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab (patch)
tree3b2f488c4a03bda877119449bd63c01fa32aa6f2 /usr/src/man/man3c/getopt.3c
parentaf8dc4373b25cce2c0bbb80f24e791f99eccbb6f (diff)
downloadillumos-gate-ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab.tar.gz
1502 Remove conversion cruft from manpages
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Diffstat (limited to 'usr/src/man/man3c/getopt.3c')
-rw-r--r--usr/src/man/man3c/getopt.3c29
1 files changed, 13 insertions, 16 deletions
diff --git a/usr/src/man/man3c/getopt.3c b/usr/src/man/man3c/getopt.3c
index cb93d20637..d8b80b8da4 100644
--- a/usr/src/man/man3c/getopt.3c
+++ b/usr/src/man/man3c/getopt.3c
@@ -2,14 +2,14 @@
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved.
.\" Copyright 1989 AT&T
.\" Portions Copyright (c) 2001, the Institute of Electrical and Electronics Engineers, Inc. and The Open Group. All Rights Reserved.
-.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
+.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH getopt 3C "16 Oct 2007" "SunOS 5.11" "Standard C Library Functions"
+.TH GETOPT 3C "Oct 16, 2007"
.SH NAME
getopt \- command option parsing
.SH SYNOPSIS
@@ -218,7 +218,7 @@ main(int argc, char *argv[ ])
fprintf(stderr,
"Unrecognized option: -%c\en", optopt);
errflg++;
- }
+ }
}
if (errflg) {
fprintf(stderr, "usage: . . . ");
@@ -279,11 +279,11 @@ while ((c = getopt(argc, argv, ":abf:")) != -1) {
break;
case ':':
printf("-%c without filename\en", optopt);
- break;
+ break;
case '?':
printf("unknown arg %c\en", optopt);
- break;
- }
+ break;
+ }
}
.fi
.in -2
@@ -365,12 +365,10 @@ that affect the execution of \fBgetopt()\fR: \fBLANG\fR, \fBLC_ALL\fR, and
\fBLC_MESSAGES\fR.
.sp
.ne 2
-.mk
.na
\fB\fBLC_CTYPE\fR\fR
.ad
.RS 12n
-.rt
Determine the locale for the interpretation of sequences of bytes as characters
in \fIoptstring\fR.
.RE
@@ -410,17 +408,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-MT-LevelUnsafe
+MT-Level Unsafe
_
-StandardSee below.
+Standard See below.
.TE
.sp