fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
seek.h
Go to the documentation of this file.
1#ifndef SEEK_H
2#define SEEK_H
3
4typedef unsigned long seek_pos;
5
6extern seek_pos seek_cur(int);
7
8extern int seek_set(int,seek_pos);
9extern int seek_end(int);
10
11extern int seek_trunc(int,seek_pos);
12
13#define seek_begin(fd) (seek_set((fd),(seek_pos) 0))
14
15#endif
seek_pos seek_cur(int)
Definition: seek.c:16
int seek_set(int, seek_pos)
Definition: seek.c:31
unsigned long seek_pos
Definition: seek.h:4
int seek_trunc(int, seek_pos)
Definition: seek.c:37
int seek_end(int)
Definition: seek.c:23