1
0
Fork 0
qmail/seek_trunc.c
D. J. Bernstein af9625ddf9 qmail 1.01
2009-12-18 13:07:04 +01:00

5 lines
125 B
C

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