ucspi-ssl  0.99e
TLS encryption for IPv6 communication
seek_set.c
Go to the documentation of this file.
1 /* Public domain. */
2 
3 #include <sys/types.h>
4 #include <unistd.h>
5 #include "seek.h"
6 
7 #define SET 0 /* sigh */
8 
9 int seek_set(int fd,seek_pos pos)
10 { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; }
int fd
Definition: cdb.h:14
#define SET
Definition: seek_set.c:7
int seek_set(int fd, seek_pos pos)
Definition: seek_set.c:9
unsigned long seek_pos
Definition: seek.h:6