io.h (412B)
1 #ifndef __TTYREC_IO_H__ 2 #define __TTYREC_IO_H__ 3 4 #include "ttyrec.h" 5 6 int read_header (FILE *fp, Header *h); 7 int write_header (FILE *fp, Header *h); 8 FILE* efopen (const char *path, const char *mode); 9 int edup (int oldfd); 10 int edup2 (int oldfd, int newfd); 11 FILE* efdopen (int fd, const char *mode); 12 void set_progname (const char *name); 13 14 #endif