Back to index

glibc  2.9
Defines | Functions | Variables
bug-argp1.c File Reference
#include <argp.h>
#include "../test-skeleton.c"

Go to the source code of this file.

Defines

#define TEST_FUNCTION   do_test (argc, argv)

Functions

static int do_test (int argc, char *argv[])

Variables

static struct argp_option []
static struct argp

Define Documentation

#define TEST_FUNCTION   do_test (argc, argv)

Definition at line 25 of file bug-argp1.c.


Function Documentation

static int do_test ( int  argc,
char *  argv[] 
) [static]

Definition at line 18 of file bug-argp1.c.

{
  int i;
  argp_parse (&test_argp, argc, argv, 0, &i, NULL);
  return 0;
}

Here is the call graph for this function:


Variable Documentation

struct argp [static]
Initial value:
{
  test_options
}

Definition at line 11 of file bug-argp1.c.

struct argp_option[] [static]
Initial value:
{
  { NULL, 'a', NULL, OPTION_DOC, NULL },
  { NULL, 'b', NULL, OPTION_DOC, NULL },
  { NULL, 0, NULL, 0, NULL }
}

Definition at line 4 of file bug-argp1.c.