jengelh-datetimespielwiese
Last change
on this file since 76388e was
76388e,
checked in by Oleksandr Motsak <motsak@…>, 12 years ago
|
ADD: improving resource handling (searching files...)
|
-
Property mode set to
100644
|
File size:
760 bytes
|
Line | |
---|
1 | #ifndef FEFOPEN_H |
---|
2 | #define FEFOPEN_H |
---|
3 | |
---|
4 | #include <misc/auxiliary.h> |
---|
5 | |
---|
6 | /***************************************************************** |
---|
7 | * |
---|
8 | * File Stuff |
---|
9 | * |
---|
10 | *****************************************************************/ |
---|
11 | FILE*feFopen(const char *path, const char *mode, char *where=NULL, BOOLEAN useWerror=FALSE, BOOLEAN path_only=FALSE); |
---|
12 | |
---|
13 | /* |
---|
14 | // These are our versions of fopen and fread They are very similar to |
---|
15 | // the usual fopen and fread, except that on reading, they always |
---|
16 | // convert "\r\n" into " \n" and "\r" into "\n". |
---|
17 | // |
---|
18 | // IMPORTANT: do only use myfopen and myfread when reading text, |
---|
19 | // do never use fopen and fread |
---|
20 | */ |
---|
21 | |
---|
22 | FILE *myfopen(const char *path, const char *mode); |
---|
23 | |
---|
24 | size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream); |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.