Back to index

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

Go to the source code of this file.

Defines

#define TEST_FUNCTION   do_test ()

Functions

static int do_test (void)

Variables

static struct argp_option []
static struct argp
static struct argp_child []

Define Documentation

#define TEST_FUNCTION   do_test ()

Definition at line 100 of file tst-argp2.c.


Function Documentation

static int do_test ( void  ) [static]

Definition at line 93 of file tst-argp2.c.

{
  argp_help (&argp1, stdout, ARGP_HELP_LONG, (char *) "tst-argp2");
  return 0;
}

Here is the call graph for this function:


Variable Documentation

static struct argp [static]
Initial value:
  {
    opt5, NULL, "args doc5", "doc5", NULL, NULL, NULL
  }

Definition at line 52 of file tst-argp2.c.

static struct argp_child [static]
Initial value:
  {
    { &argp4, 0, "child3", 3 },
    { &argp5, 0, "child4", 4 },
    { NULL, 0, NULL, 0 }
  }

Definition at line 67 of file tst-argp2.c.

static struct argp_option [static]
Initial value:
  {
    { "opt1", '1', "NUMBER", 0, "Option 1" },
    { NULL, 0, NULL, 0, NULL }
  }

Definition at line 22 of file tst-argp2.c.