summaryrefslogtreecommitdiff
path: root/seek_trunc.c
blob: 6a1a73ed00b7dda97d384e53caf04176ee73b580 (plain)
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); }