/usr/include/funtools/xfile.h is in libfuntools-dev 1.4.7-2.
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 ftOpen(n, m) fopen(n, m)
#define ftWrite(f, b, s, n) fwrite(b, s, n, f)
#define ftRead(f, b, s, n) fread(b, s, n, f)
#define ftGets(f, b, n) fgets(b, n, f)
#define ftFlush(f) fflush(f)
#define ftSeek(f, o, n) (fseek(f, o, n), ftell(f))
#define ftTell(f) ftell(f)
#define ftOpenFd(fd, mode) fdopen(fd, mode)
#define ftClose(fd) fclose(fd)
#endif
|