source: git/findexec/feFopen.h @ 1dad21

spielwiese
Last change on this file since 1dad21 was 1dad21, checked in by Hans Schoenemann <hannes@…>, 12 years ago
fix: findexec/feFopen*
  • Property mode set to 100644
File size: 942 bytes
Line 
1#ifndef FEFOPEN_H
2#define FEFOPEN_H
3
4/*****************************************************************
5 *
6 * File Stuff
7 *
8 *****************************************************************/
9#ifdef __cplusplus
10
11FILE*feFopen(const char *path, const char *mode, char *where, short useWerror=0, short path_only=0);
12FILE*feFopen(const char *path, const char *mode);
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
22FILE *myfopen(const char *path, const char *mode);
23
24size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream);
25
26extern "C" 
27{
28#endif
29
30extern short errorreported;
31void    WerrorS(const char *s);
32extern void (*WerrorS_callback)(const char *s);
33
34#ifdef __cplusplus
35}
36#endif
37#endif
Note: See TracBrowser for help on using the repository browser.