Back to index

glibc  2.9
Functions | Variables
argp-ex2.c File Reference
#include <argp.h>

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Variables

const char * argp_program_version = "argp-ex2 1.0"
const char * argp_program_bug_address = "<bug-gnu-utils@@gnu.org>"
static char doc [] = "Argp example #2 -- a pretty minimal program using argp"
static struct argp = { 0, 0, 0, doc }

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 40 of file argp-ex2.c.

{
  argp_parse (&argp, argc, argv, 0, 0, 0);
  exit (0);
}

Here is the call graph for this function:


Variable Documentation

struct argp = { 0, 0, 0, doc } [static]

Definition at line 38 of file argp-ex2.c.

const char* argp_program_bug_address = "<bug-gnu-utils@@gnu.org>"

Definition at line 26 of file argp-ex2.c.

const char* argp_program_version = "argp-ex2 1.0"

Definition at line 24 of file argp-ex2.c.

char doc[] = "Argp example #2 -- a pretty minimal program using argp" [static]

Definition at line 30 of file argp-ex2.c.