spielwiese
Last change
on this file since 17d2dd was
46395ad,
checked in by Hans Schoenemann <hannes@…>, 14 years ago
|
directory resources
|
-
Property mode set to
100644
|
File size:
790 bytes
|
Line | |
---|
1 | #ifndef FEFOPEN_H |
---|
2 | #define FEFOPEN_H |
---|
3 | /***************************************************************** |
---|
4 | * |
---|
5 | * File Stuff |
---|
6 | * |
---|
7 | *****************************************************************/ |
---|
8 | FILE * feFopen(const char *path, const char *mode, char *where=NULL, |
---|
9 | int useWerror=FALSE, int path_only=FALSE); |
---|
10 | |
---|
11 | /* |
---|
12 | // These are our versions of fopen and fread They are very similar to |
---|
13 | // the usual fopen and fread, except that on reading, they always |
---|
14 | // convert "\r\n" into " \n" and "\r" into "\n". |
---|
15 | // |
---|
16 | // IMPORTANT: do only use myfopen and myfread when reading text, |
---|
17 | // do never use fopen and fread |
---|
18 | */ |
---|
19 | #ifdef ix86_Win |
---|
20 | FILE *myfopen(const char *path, const char *mode); |
---|
21 | #else |
---|
22 | #define myfopen fopen |
---|
23 | #endif |
---|
24 | |
---|
25 | size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream); |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.