summaryrefslogtreecommitdiff
path: root/seek.h
blob: 964fba3406b93c508aca5e9b5599bd0481a77c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SEEK_H
#define SEEK_H

typedef unsigned long seek_pos;

extern seek_pos seek_cur();

extern int seek_set();
extern int seek_end();

extern int seek_trunc();

#define seek_begin(fd) (seek_set((fd),(seek_pos) 0))

#endif