summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/seek.h
blob: 06aad9791c466bf3371d079eaf2d80f2a9cd8faf (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(int);

extern int seek_set(int,seek_pos);
extern int seek_end(int);

extern int seek_trunc(int,seek_pos);

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

#endif