summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-15 22:40:52 +0200
committerCarl Hetherington <cth@carlh.net>2022-05-05 21:46:30 +0200
commit57ee229993937dee8e12df4f60dd1e508fe50622 (patch)
tree195a1d27a9cfc000456beb8edc65f3c09a391ea1 /src/file.h
parent85207b59bd065b5fd8d1c7c0302e153dcd941554 (diff)
Add ::puts().
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file.h b/src/file.h
index 037251c1..edc431bd 100644
--- a/src/file.h
+++ b/src/file.h
@@ -71,6 +71,8 @@ public:
int eof();
/** fgets() wrapper */
char *gets(char *s, int size);
+ /** fputs() wrapper */
+ int puts(char const *s);
/** fseek/fseeki64 wrapper */
int seek(int64_t offset, int whence);
/** ftell/ftelli64 wrapper */