/usr/include/NTL/fileio.h is in libntl-dev 5.4.2-4.1build1.
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 39 40 41 42 43 44 45 46 | #ifndef NTL_fileio__H
#define NTL_fileio__H
#include <NTL/tools.h>
#if (defined(NTL_STD_CXX) || defined(NTL_PSTD_NHF))
#include <fstream>
#else
#include <fstream.h>
#endif
#if 0
namespace foo_bar {
class ofstream;
class ifstream;
}
#endif
NTL_OPEN_NNS
void OpenWrite(NTL_SNS ofstream& s, const char *name);
// opens file for writing...aborts if fails
void OpenRead(NTL_SNS ifstream& s, const char *name);
// opens file for reading
char *FileName(const char* stem, const char *ext);
// builds the name "stem.ext"
char *FileName(const char* stem, const char *ext, long d);
// builds the name stem.ext.d
NTL_CLOSE_NNS
#endif
|