summaryrefslogtreecommitdiffstats
path: root/seek.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
committermanuel <manuel@mausz.at>2013-02-04 00:08:53 +0100
commit69aec538b456402170dc723af417ba5c05389c32 (patch)
treee6f34c543f17c6392447ea337b2e2868212424d1 /seek.h
downloadqmail-69aec538b456402170dc723af417ba5c05389c32.tar.gz
qmail-69aec538b456402170dc723af417ba5c05389c32.tar.bz2
qmail-69aec538b456402170dc723af417ba5c05389c32.zip
qmail 1.03 import
Diffstat (limited to 'seek.h')
-rw-r--r--seek.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/seek.h b/seek.h
new file mode 100644
index 0000000..964fba3
--- /dev/null
+++ b/seek.h
@@ -0,0 +1,15 @@
1#ifndef SEEK_H
2#define SEEK_H
3
4typedef unsigned long seek_pos;
5
6extern seek_pos seek_cur();
7
8extern int seek_set();
9extern int seek_end();
10
11extern int seek_trunc();
12
13#define seek_begin(fd) (seek_set((fd),(seek_pos) 0))
14
15#endif