OpenCores
URL https://opencores.org/ocsvn/altor32/altor32/trunk

Subversion Repositories altor32

[/] [altor32/] [trunk/] [or1k-sim/] [getopt_win32.h] - Blame information for rev 28

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 ultra_embe
// XGetopt.h  Version 1.2
2
//
3
// Author:  Hans Dietrich
4
//          hdietrich2@hotmail.com
5
//
6
// This software is released into the public domain.
7
// You are free to use it in any way you like.
8
//
9
// This software is provided "as is" with no expressed
10
// or implied warranty.  I accept no liability for any
11
// damage or loss of business that this software may cause.
12
//
13
///////////////////////////////////////////////////////////////////////////////
14
 
15
#ifndef XGETOPT_H
16
#define XGETOPT_H
17
 
18
#ifdef __cplusplus 
19
extern "C" {
20
#endif
21
 
22
#ifdef WIN32
23
 
24
#include <windows.h>
25
 
26
extern int optind, opterr;
27
extern TCHAR *optarg;
28
 
29
int getopt(int argc, TCHAR *argv[], TCHAR *optstring);
30
 
31
#endif
32
 
33
#ifdef __cplusplus
34
}
35
#endif
36
 
37
#endif //XGETOPT_H

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.