Logo Search packages:      
Sourcecode: vfu version File versions

getopt2.h

/*
 *  $Header: /cvs/vslib/getopt2.h,v 1.2 2001/10/28 13:53:02 cade Exp $
 *
 *  Copyright (C) 1994 Arno Schaefer
 *
 *  AU: Prototypen und externe Variablen fuer getopt ()
 *
 *  PO: ANSI C
 *
 */
/* see getopt.h for changes */
#ifndef GETOPT_H
#define GETOPT_H

/* next line added by <cade@biscom.net> see getopt2.cpp for changes */
#define GETOPT(opts) while((optc = getopt2(argc, argv, opts)) != -1)


extern char *optarg;
extern int optind;
extern int opterr;
extern int optopt;
extern int optc;

/*
 * set this to `0' to avoid warning message from getopt when
 * reach unknown option
 */
extern int opterr_report;

/* name changed to getopt2 to avoid library function mismatch */

int getopt2(int argc, char *argv[], char *optstring);

#endif

Generated by  Doxygen 1.6.0   Back to index