/usr/include/ivstd/fstream.h is in ivtools-dev 1.2.11a1-11.
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 | #ifndef _iv_fstream_
#define _iv_fstream_
#include <fstream>
#include <cstdio>
#define input ios_base::in
#define output ios_base::out
#if !defined(__APPLE_CC__) || __APPLE_CC__==1
#include <ext/stdio_filebuf.h>
#define fileptr_filebuf __gnu_cxx::stdio_filebuf<char>
#else
#define fileptr_filebuf filebuf
#endif
#if !defined(__APPLE_CC__) || __APPLE_CC__==1
#define FILEBUF(bufname, fptr, mode) \
fileptr_filebuf bufname(fptr, mode)
#define FILEBUFP(bufname, fptr, mode) \
fileptr_filebuf* bufname = new fileptr_filebuf(fptr, mode)
#else
#define FILEBUF(bufname, fptr, mode) \
fileptr_filebuf bufname; \
bufname.open(fptr, mode);
#define FILEBUFP(bufname, fptr, mode) \
fileptr_filebuf* bufname = new fileptr_filebuf; \
bufname -> open(fptr,mode);
#endif
#endif
|