#include #include "seek.h" int seek_trunc(fd,pos) int fd; seek_pos pos; { return ftruncate(fd,(off_t) pos); }