1 #include <sys/types.h> 2 #include "seek.h" 3 seek_trunc(fd,pos)4 int seek_trunc(fd,pos) int fd; seek_pos pos; 5 { return ftruncate(fd,(off_t) pos); } 6