getopt.c File Reference

Get options from argv. More...

#include <stdio.h>
#include "util.h"

Go to the source code of this file.


void util_getopt_reset ()
int util_getopt (int argc, char **argv, char *optstring)


char * util_optarg
int util_optind = 0

Detailed Description

Get options from argv.

Definition in file getopt.c.

Function Documentation

int util_getopt ( int  argc,
char **  argv,
char *  optstring 

Definition at line 21 of file getopt.c.

void util_getopt_reset ( void   ) 

Definition at line 13 of file getopt.c.

Variable Documentation

char* util_optarg

Definition at line 8 of file getopt.c.

int util_optind = 0

Definition at line 9 of file getopt.c.