Browse Source

tweak for clarity, ok millert@, jmc@

OPENBSD_5_0
espie 13 years ago
parent
commit
9766982215
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/lib/libc/stdlib/getopt_long.3

+ 4
- 4
src/lib/libc/stdlib/getopt_long.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: getopt_long.3,v 1.18 2011/03/05 22:10:11 guenther Exp $
.\" $OpenBSD: getopt_long.3,v 1.19 2011/03/21 13:41:50 espie Exp $
.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ .\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $
.\" .\"
.\" Copyright (c) 1988, 1991, 1993 .\" Copyright (c) 1988, 1991, 1993
@ -30,7 +30,7 @@
.\" .\"
.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 .\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
.\" .\"
.Dd $Mdocdate: March 5 2011 $
.Dd $Mdocdate: March 21 2011 $
.Dt GETOPT_LONG 3 .Dt GETOPT_LONG 3
.Os .Os
.Sh NAME .Sh NAME
@ -100,9 +100,9 @@ An exact match is always preferred for a defined long option.
.Pp .Pp
The The
.Fn getopt_long .Fn getopt_long
call requires a structure to be initialized describing the long
call requires an array to be initialized describing the long
options. options.
The structure is:
Each element of the array is a structure:
.Bd -literal -offset indent .Bd -literal -offset indent
struct option { struct option {
char *name; char *name;


Loading…
Cancel
Save