New functions: fnread() and fngetint(), companions to fnwrite()

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2021-05-11 07:02:30 +02:00
1 parent 21ebbb942f
commit cbb8935660
2 files changed
+46

No files matched your search

+2
View File
@@ -50,7 +50,9 @@ extern char *prognm;
char *progname (char *arg0);
char *str (char *fmt, ...);
int fnread (char *buf, size_t len, char *fmt, ...);
int fnwrite (char *value, char *fmt, ...);
int fngetint (char *path, int *val);
int has_utmp (void);
int strtobytes (char *arg);