/usr/include/singular/resources/feFopen.h is in libsingular4-dev-common 1:4.0.3-p3+ds-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #ifndef FEFOPEN_H
#define FEFOPEN_H
/*****************************************************************
*
* File Stuff
*
*****************************************************************/
#ifdef __cplusplus
#include <stdio.h>
FILE*feFopen(const char *path, const char *mode, char *where=0, short useWerror=0, short path_only=0);
/*
// These are our versions of fopen and fread They are very similar to
// the usual fopen and fread, except that on reading, they always
// convert "\r\n" into " \n" and "\r" into "\n".
//
// IMPORTANT: do only use myfopen and myfread when reading text,
// do never use fopen and fread
*/
FILE *myfopen(const char *path, const char *mode);
size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream);
extern "C"
{
#endif
extern short errorreported;
void WerrorS(const char *s);
extern void (*WerrorS_callback)(const char *s);
extern void (*PrintS_callback)(const char *s);
#ifdef __cplusplus
}
#endif
#endif
|