From ebf3b3ad1795c877c4164b46aab1397237210417 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 18 Jul 2004 18:47:55 +0000 Subject: add support for file size accounting in --diff git-svn-id: file:///home/lennart/svn/public/syrep/trunk@57 07ea20a6-d2c5-0310-9e02-9ef735347d72 --- src/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 50e3a95..01fe31d 100644 --- a/src/util.h +++ b/src/util.h @@ -59,5 +59,7 @@ ssize_t loop_write(int fd, void *d, size_t l); int expand_file(int fd, off_t l); off_t filesize(int fd); +off_t filesize2(const char *p); +char *snprint_off(char *s, size_t l, off_t off); #endif -- cgit