diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-04 10:36:08 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-04 10:36:51 +1300 |
commit | 4b49eed6098881fbde1f6c7728c1346fc8366979 (patch) | |
tree | 7c5a3d7ee9ec01e71ae1e6eea1f59533c0ca4c8d /cat.h | |
parent | Clean up Makefile a bit (diff) | |
download | cat-4b49eed6098881fbde1f6c7728c1346fc8366979.tar.gz cat-4b49eed6098881fbde1f6c7728c1346fc8366979.zip |
Switch to fopen/fread etc
Not quite finished yet -- this does things with stdin I didn't expect,
like not printing it line-by-line, and requiring two EOFs for some
reason.
Diffstat (limited to 'cat.h')
-rw-r--r-- | cat.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ /* Function prototypes so that I can refer to these functions in main() before * I actually define them */ int cfn(const char *fn, void *buf); -int cfd(int fd, void *buf); +int cfp(FILE *fp, void *buf); #endif |