~mdw
/
ezmlm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f54066445841b237cdf7a8c26144ec4bb0943edc
[ezmlm]
/
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
; }