Add support for truncatef(), formatted truncate() replacement

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2020-06-02 06:56:02 +02:00
1 parent 7396dd83c7
commit 044c2621ac
4 files changed
+74 -1

No files matched your search

+1
View File
@@ -72,6 +72,7 @@ ssize_t copyfile (const char *src, const char *dst, int len, int opt);
int movefile (const char *src, const char *dst);
int fcopyfile (FILE *src, FILE *dst);
ssize_t fsendfile (FILE *src, FILE *dst, size_t len);
int truncatef (off_t length, const char *fmt, ...);
int ifconfig (const char *ifname, const char *addr, const char *mask, int up);