/usr/include/funtools/xfile.h is in libfuntools-dev 1.4.4+dfsg2-1.
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 | /* default xfile.h
*/
#ifndef XFILE_H
#define XFILE_H
#include <stdio.h>
typedef FILE *File;
#define Open(n, m) fopen(n, m)
#define Write(f, b, s, n) fwrite(b, s, n, f)
#define Read(f, b, s, n) fread(b, s, n, f)
#define Gets(f, b, n) fgets(b, n, f)
#define Flush(f) fflush(f)
#define Seek(f, o, n) (fseek(f, o, n), ftell(f))
#define Tell(f) ftell(f)
#define OpenFd(fd, mode) fdopen(fd, mode)
#define Close(fd) fclose(fd)
#endif
|