#include <stdio.h>
#include <string.h>
Include dependency graph for attgetopt.c:
Go to the source code of this file.
Defines | |
#define | ERR(s, c) if (opterr) (void) fprintf(stderr, "%s: %s\n", argv[0], s) |
Functions | |
int | getopt (int argc, char **argv, char *opts) |
Variables | |
int | opterr = 1 |
int | optind = 1 |
int | optopt |
char * | optarg |
From the mod.sources newsgroup, volume 3, issue 58, with modifications to bring it up to 21st century C.
Taken from Kannel Project (http://www.kannel.org/)
Definition in file attgetopt.c.
|
Definition at line 18 of file attgetopt.c. Referenced by getopt(). |
|
Definition at line 25 of file attgetopt.c. References ERR, NULL, optarg, optind, and optopt. Referenced by main(). |
|
Definition at line 23 of file attgetopt.c. Referenced by getopt(). |
|
Definition at line 20 of file attgetopt.c. |
|
Definition at line 21 of file attgetopt.c. Referenced by getopt(). |
|
Definition at line 22 of file attgetopt.c. Referenced by getopt(). |