My Project
Toggle main menu visibility
Loading...
Searching...
No Matches
resources
feFopen.h
Go to the documentation of this file.
1
#ifndef FEFOPEN_H
2
#define FEFOPEN_H
3
4
/*****************************************************************
5
*
6
* File Stuff
7
*
8
*****************************************************************/
9
#ifdef __cplusplus
10
11
#include <stdio.h>
12
13
FILE*
feFopen
(
const
char
*path,
const
char
*mode,
char
*where=0,
short
useWerror=0,
short
path_only=0);
14
15
/*
16
// These are our versions of fopen and fread They are very similar to
17
// the usual fopen and fread, except that on reading, they always
18
// convert "\r\n" into " \n" and "\r" into "\n".
19
//
20
// IMPORTANT: do only use myfopen and myfread when reading text,
21
// do never use fopen and fread
22
*/
23
FILE *
myfopen
(
const
char
*path,
const
char
*mode);
24
size_t
myfread
(
void
*ptr,
size_t
size
,
size_t
nmemb, FILE *stream);
25
26
extern
"C"
27
{
28
#endif
29
30
EXTERN_VAR
short
errorreported
;
31
void
WerrorS
(
const
char
*
s
);
32
EXTERN_VAR
void (*
WerrorS_callback
)(
const
char
*
s
);
33
EXTERN_VAR
void (*
PrintS_callback
)(
const
char
*
s
);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
#endif
size
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition
cf_ops.cc:600
s
const CanonicalForm int s
Definition
facAbsFact.cc:51
WerrorS_callback
VAR void(* WerrorS_callback)(const char *s)
Definition
feFopen.cc:21
errorreported
VAR short errorreported
Definition
feFopen.cc:23
PrintS_callback
VAR void(* PrintS_callback)(const char *s)
Definition
feFopen.cc:22
feFopen
FILE * feFopen(const char *path, const char *mode, char *where=0, short useWerror=0, short path_only=0)
Definition
feFopen.cc:47
WerrorS
void WerrorS(const char *s)
Definition
feFopen.cc:24
myfopen
FILE * myfopen(const char *path, const char *mode)
Definition
feFopen.cc:167
myfread
size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream)
Definition
feFopen.cc:195
EXTERN_VAR
#define EXTERN_VAR
Definition
globaldefs.h:6
Generated on
for My Project by
doxygen 1.17.0
for
Singular