Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 125 Bytes

seek_trunc.c

File metadata and controls

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