source: git/libpolys/resources/feFopen.h @ 7d0225

spielwiese
Last change on this file since 7d0225 was 7d0225, checked in by Hans Schoenemann <hannes@…>, 13 years ago
new files in factory added to Makefile.am
  • Property mode set to 100644
File size: 786 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#ifdef __cplusplus
12FILE*feFopen(const char *path, const char *mode, char *where=NULL, BOOLEAN useWerror=FALSE, BOOLEAN path_only=FALSE);
13
14/*
15// These are our versions of fopen and fread They are very similar to
16// the usual fopen and fread, except that on reading, they always
17// convert "\r\n" into " \n" and "\r" into "\n".
18//
19// IMPORTANT: do only use myfopen and myfread when reading text,
20// do never use fopen and fread
21*/
22
23FILE *myfopen(const char *path, const char *mode);
24
25size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream);
26
27#endif
28#endif
Note: See TracBrowser for help on using the repository browser.