~mdw
/
qmail
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Upstream qmail 1.03
[qmail]
/
seek_set.c
Commit
Line
Data
2117e02e
MW
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; }