X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=fd.h;h=9c43eec179e9f363cfe56c4592fcd8d754e95b2f;hb=e7fdbaf015655af4eec7e4655b9306e1db862a40;hp=4b802062d7207344ef3441542a3fe090ba18bd67;hpb=af89ce791ead29cb2a86e257f8e8d113c6ac205f;p=osl.git diff --git a/fd.h b/fd.h index 4b80206..9c43eec 100644 --- 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).