DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
A Flexible UNIX Command Line Processing Facility - Args(3C++)

A Flexible UNIX Command Line Processing Facility - Args(3C++)

Every non-trivial UNIX program accepts command-line arguments. Processing command-line arguments might seem like an easy enough task to program, and thus not worthy of a general-purpose library, beyond the functionality provided by getopt(3C). However, there are a number of variations of command line processing not handled by getopt(3C): Given these variations, the universal need for command-line processing, and the fact that a C++ facility can avoid the global variables necessary with getopt(3C), it was deemed worthwhile to provide a portable, flexible C++ command-line processing facility.
Next topic: Options and option values

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004