Merge pull request #7 from ccawley2011/msvc
[debian-nspark.git] / os.h
blob70c30a9174cec8ba0957ca57e61c45c3853e6121
1 /*
2 * Operating System specific function prototypes
4 * $Header: os.h 1.2 92/10/01 $
5 * $Log: os.h,v $
6 * Revision 1.3 93/03/05 15:37:24 arb
7 * Added read() function prototype for RISCOS
9 * Revision 1.2 92/10/01 11:22:18 duplain
10 * Added filesize() function prototype.
12 * Revision 1.1 92/09/29 18:02:39 duplain
13 * Initial revision
17 #ifndef __OS_H
18 #define __OS_H
20 Word filesize(char *pathname);
21 Ftype exist(char *pathname);
22 int makedir(char *pathname);
23 int filestamp(Header *header, char *filename);
25 #ifdef RISCOS
26 int read(int fd, void *buffer, int size);
27 #endif
28 #ifdef _MSC_VER
29 #define read _read
30 #define strdup _strdup
31 #endif
32 #endif /* __OS_H */