seek.h (279B)
1 /* Public domain. */ 2 3 #ifndef SEEK_H 4 #define SEEK_H 5 6 typedef unsigned long seek_pos; 7 8 extern seek_pos seek_cur(int); 9 10 extern int seek_set(int,seek_pos); 11 extern int seek_end(int); 12 13 extern int seek_trunc(int,seek_pos); 14 15 #define seek_begin(fd) (seek_set((fd),(seek_pos) 0)) 16 17 #endif