~mdw
/
qmail
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
qmail: Indirect via QMAILQUEUE environment variable to find qmail-queue.
[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
; }