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

7 lines
153 B
C

#include <sys/types.h>
#include "seek.h"
#define END 2 /* sigh */
int seek_end(fd) int fd;
{ if (lseek(fd,(off_t) 0,END) == -1) return -1; return 0; }