source: git/libpolys/resources/feFopen.h @ 76388e

spielwiese
Last change on this file since 76388e was 76388e, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: improving resource handling (searching files...)
  • Property mode set to 100644
File size: 760 bytes
RevLine 
[46395ad]1#ifndef FEFOPEN_H
2#define FEFOPEN_H
[76388e]3
4#include <misc/auxiliary.h>
5
[46395ad]6/*****************************************************************
7 *
8 * File Stuff
9 *
10 *****************************************************************/
[76388e]11FILE*feFopen(const char *path, const char *mode, char *where=NULL, BOOLEAN useWerror=FALSE, BOOLEAN path_only=FALSE);
[46395ad]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*/
[5df856]21
[46395ad]22FILE *myfopen(const char *path, const char *mode);
[5df856]23
[46395ad]24size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream);
[5df856]25
[46395ad]26#endif
Note: See TracBrowser for help on using the repository browser.