Gopt

Gopt is a free, open-source ANSI C library, for parsing command line arguments and options according to GNU standards.

Gopt was written by Tom Vajzovic, and is a free-standing alternative to Argp or getopt.  It is written to minimise and simplify the code required within a program's main() function dealing with the command line.

Gopt is copyright 2003 and 2004 Tom Vajzovic.  The Gopt manual describes the license details.

To use Gopt you need gopt.c and gopt.h.  Also available, online or to download, is the complete Gopt manual (html) or Gopt manual (plain text), and a Gopt working example program.

Files

gopt.c
The Gopt library program file.
gopt.h
The Gopt library header file.
gopt-ex.c
A working example program using the Gopt.
COPYING
The GNU General Public Licence.
gopt-man.html
The Gopt manual in html format.
fdl.txt
The GNU Free Documentation License.
gopt-man.txt
The Gopt manual in plain ascii text format.
gopt-3.tar.gz
An archive of these seven files.

The latest versions of these files are available online at http://gopt.sourceforge.net/, thanks to sourceforge.net.

Gopt used to be distributed from http://www.ug-home.nottingham.ac.uk/~ppywtcv/gopt/, which is now 404.  Please update your links and bookmarks.  If any Open Directory editors read this, could you please update the listing in /Computers/Programming/Languages/C/Libraries/.