ucspi-ssl
0.99e
TLS encryption for IPv6 communication
ucspi-ssl-0.99e
src
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; }
seek.h
cdb::fd
int fd
Definition:
cdb.h:14
SET
#define SET
Definition:
seek_set.c:7
seek_set
int seek_set(int fd, seek_pos pos)
Definition:
seek_set.c:9
seek_pos
unsigned long seek_pos
Definition:
seek.h:6
Generated on Wed Jul 11 2018 22:50:46 for ucspi-ssl by
1.8.13