chiark / gitweb /
Merge branches 'idx/verh' and 'idx/qmqpc'
[qmail] / seek_set.c
1 #include <sys/types.h>
2 #include "seek.h"
3
4 #define SET 0 /* sigh */
5
6 int seek_set(fd,pos) int fd; seek_pos pos;
7 { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; }