Browse Source

repair

OPENBSD_2_7
deraadt 24 years ago
parent
commit
08f28aa616
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/lib/libc/stdlib/getopt.3

+ 2
- 2
src/lib/libc/stdlib/getopt.3 View File

@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: getopt.3,v 1.10 1999/09/07 16:04:54 espie Exp $
.\" $OpenBSD: getopt.3,v 1.11 2000/01/25 23:28:55 deraadt Exp $
.\" .\"
.Dd April 19, 1994 .Dd April 19, 1994
.Dt GETOPT 3 .Dt GETOPT 3
@ -248,7 +248,7 @@ The following code fragment works in most cases.
int length; int length;
char *p; char *p;
while ((c = getopt(argc, argv, "0123456789")) != -1)
while ((c = getopt(argc, argv, "0123456789")) != -1) {
switch (c) { switch (c) {
case '0': case '1': case '2': case '3': case '4': case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9': case '5': case '6': case '7': case '8': case '9':


Loading…
Cancel
Save