X-Git-Url: http://git.tuebingen.mpg.de/?p=osl.git;a=blobdiff_plain;f=fd.h;h=c660babb31547ca821013ce4dbbd557641bea36a;hp=9c43eec179e9f363cfe56c4592fcd8d754e95b2f;hb=68aa66b6f051083b8f9fe9cf65b0a20fed4363f9;hpb=e7fdbaf015655af4eec7e4655b9306e1db862a40 diff --git a/fd.h b/fd.h index 9c43eec..c660bab 100644 --- a/fd.h +++ b/fd.h @@ -14,7 +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); +int truncate_file(const char *filename, off_t size); /** * A wrapper for mkdir(2).