getopt.h File Reference

API published in:
API deprecated in:


#include <sys/cdefs.h>

Go to the source code of this file.


Data Structures

struct  option

Defines

#define no_argument   0
#define required_argument   1
#define optional_argument   2

Functions

__BEGIN_DECLS IMPORT_C int getopt_long (int, char *const *, const char *, const struct option *, int *)
IMPORT_C int getopt (int, char *const [], const char *)

Variables

char * optarg
int optind
int opterr
int optopt
int optreset

Define Documentation

#define no_argument   0
 
#define optional_argument   2
 
#define required_argument   1
 

Function Documentation

IMPORT_C int getopt int ,
char *  const[],
const char * 
 
__BEGIN_DECLS IMPORT_C int getopt_long int ,
char *const * ,
const char * ,
const struct option,
int * 
 

Variable Documentation

char* optarg
 
int opterr
 
int optind
 
int optopt
 
int optreset
 

Copyright © Nokia Corporation 2001-2008
Back to top