Filewatcher File Search File Search
Content Search
» » » » » »


An ANSI C command line parser

Argtable is an ANSI C library for parsing GNU style command line options with a minimum of fuss. It enables a program's command line syntax to be defined in the source code as an array of argtable structs. The command line is then parsed according to that specification and the resulting values are returned in those same structs where they are accessible to the main program. Both tagged (-v, --verbose, --foo=bar) and untagged arguments are supported, as are multiple instances of each argument. Syntax error handling is automatic and the library also provides the means for generating a textual description of the command line syntax.

The argtable parsing, validation, and error reporting routines may be replaced by user-defined callbacks if desired and new argtable data types may be created to parse user-defined argument types. The parsing itself is done using GNU getopt so the parser is 100% GNU compatible. Care has also been taken to make the internal command line buffer handling secure against buffer overun attacks, as might be attempted with maliciously long command lines.

Package version:2.12


Installing argtable2 on Unix systems
The basic compile and install procedure for unix systems is:

    $ cd argtable2-x
    $ ./configure
    $ make
    $ make check (optional)
    $ sudo make install
    $ make clean

Remember to update your system's LD_LIBRARY_PATH to include
the location of the dynamic library (normally /usr/local/lib/).

The configuration s


ARGTABLE2(3)        Argtable programmer's manual        ARGTABLE2(3)

       argtable2  -  an ANSI C library for parsing GNU style command
       line options

       #include <argtable2.h>

       struct arg_lit
       struct arg_int
       struct arg_dbl
       struct arg_str
       struct arg_rex
       struct arg_file
       struct arg_date
       struct arg_rem
       struct a


Version 2.12, released Feb 14, 2010.
    Added support for pkg-config to the automake files.
    Added support for parsing integers in hex, octal and binary formats.
    Added support for parsing common number suffixes such as 1KB, 1MB, 1GB.
    Revamped the argtable man page.

Version 2.11, released May 3, 2009.
    Minor tweaks to the RPM packaging and the example Makefile.
    Replaced the miss


argtable is Copyright (C) 1998-2001,2003-2010 Stewart Heitmann.
Parts are Copyright (C) 1989-1994, 1


		       Version 2, June 1991

 Copyright (C) 1991 Free Softw

Browse inside libargtable2-2.12-2.el5.rf.ppc.rpm

1.67 KB2014-11-28HEADER  view  9 mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download libargtable2-2.12-2.el5.rf.ppc.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017