Defines | Functions | Variables
getopt.c File Reference
#include "getopt.h"
#include <stdio.h>
#include <string.h>
Include dependency graph for getopt.c:

Go to the source code of this file.

Defines

#define ERR(s, c)

Functions

int getopt (int argc, char **argv, char *opts)

Variables

char * optarg
int opterr = 1
int optind = 1
int optopt

Define Documentation

#define ERR (   s,
 
)
Value:
if (opterr) {                \
        char errbuf[2];          \
        errbuf[0] = c;           \
        errbuf[1] = '\n';        \
        fputs (argv[0], stderr); \
        fputs (s, stderr);       \
        fputc(c, stderr);        \
    }                            \

Definition at line 19 of file getopt.c.


Function Documentation

int getopt ( int  argc,
char **  argv,
char *  opts 
)

Definition at line 34 of file getopt.c.


Variable Documentation

char* optarg

Definition at line 32 of file getopt.c.

int opterr = 1

Definition at line 29 of file getopt.c.

int optind = 1

Definition at line 30 of file getopt.c.

int optopt

Definition at line 31 of file getopt.c.



multisense_lib
Author(s):
autogenerated on Fri Apr 5 2019 02:28:24