Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: othersrc/external/bsd/getopt2

Module Name:    othersrc
Committed By:   agc
Date:           Fri Jul 15 05:30:48 UTC 2011

Update of /cvsroot/othersrc/external/bsd/getopt2
In directory

Log Message:
Initial import of getopt2 into othersrc repository.

getopt2(3) is similar to getopt(3), except that a structure is used to
allow multiple instances of command line parsing to take place
simultaneously, with no explicit stack saving or local copies of
global variables needing to take place.

In addition, the optstring does the usual ':' for an option with an
argument, and uses ';' to denote an option that optionally takes an

This functionality will be used by mat (and, indirectly, sharedkey) to
parse their arguments.


Vendor Tag:     CROOKS
Release Tags:   getopt2-base
N othersrc/external/bsd/getopt2/Makefile
N othersrc/external/bsd/getopt2/dist/getopt2.3
N othersrc/external/bsd/getopt2/dist/Makefile
N othersrc/external/bsd/getopt2/dist/TODO
N othersrc/external/bsd/getopt2/dist/getopt2.c
N othersrc/external/bsd/getopt2/dist/getopt2.h
N othersrc/external/bsd/getopt2/dist/main.c
N othersrc/external/bsd/getopt2/dist/expected
N othersrc/external/bsd/getopt2/libgetopt2/shlib_version
N othersrc/external/bsd/getopt2/libgetopt2/Makefile
N othersrc/external/bsd/getopt2/getopt2/Makefile

No conflicts created by this import

Home | Main Index | Thread Index | Old Index