]> git.tuebingen.mpg.de Git - osl.git/blobdiff - fd.h
Move para_truncate from osl.c to fd.c.
[osl.git] / fd.h
diff --git a/fd.h b/fd.h
index 4b802062d7207344ef3441542a3fe090ba18bd67..9c43eec179e9f363cfe56c4592fcd8d754e95b2f 100644 (file)
--- a/fd.h
+++ b/fd.h
@@ -14,6 +14,7 @@ int mmap_full_file(const char *filename, int open_mode, void **map,
 int osl_munmap(void *start, size_t length);
 int write_all(int fd, const char *buf, size_t *len);
 int write_file(const char *filename, const void *buf, size_t size);
+int para_truncate(const char *filename, off_t size);
 
 /**
  * A wrapper for mkdir(2).