This is Unofficial EPICS BASE Doxygen Site
epicsGetopt.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * Copyright (c) 2002 Berliner Elektronenspeicherringgesellschaft fuer
7 * Synchrotronstrahlung.
8 * EPICS BASE Versions 3.13.7
9 * and higher are distributed subject to a Software License Agreement found
10 * in file LICENSE that is included with this distribution.
11 \*************************************************************************/
12 #ifndef _EPICS_GETOPT_H
13 #define _EPICS_GETOPT_H
14 
15 #ifdef _MINGW
16 
17 #include <unistd.h>
18 
19 #else /* _MINGW */
20 
21 #include "libComAPI.h"
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 LIBCOM_API int getopt(int argc, char * const argv[], const char *optstring);
28 
29 LIBCOM_API extern char *optarg;
30 
31 LIBCOM_API extern int optind, opterr, optopt;
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif /* _MINGW */
38 
39 #endif /* _EPICS_GETOPT_H */
LIBCOM_API int optopt
Definition: epicsGetopt.c:50
LIBCOM_API char * optarg
Definition: epicsGetopt.c:55
LIBCOM_API int optind
Definition: epicsGetopt.c:50
LIBCOM_API int opterr
Definition: epicsGetopt.c:49
LIBCOM_API int getopt(int argc, char *const argv[], const char *optstring)