idx

C library providing a standard for (non-standard) 64-bit file indexing functions.
git clone git://src.gearsix.net/idx
Log | Files | Refs | Atom | README

idx.h (345B)


      1 #ifndef IDX
      2 #define IDX
      3 #ifdef __cplusplus
      4 extern "C" {
      5 #endif
      6 
      7 #include "idx_t.h" /* idx_t */
      8 #include <stdio.h> /* FILE */
      9 
     10 int idxseek(FILE *stream, idx_t offset, int origin);
     11 
     12 idx_t idxtell(FILE *stream);
     13 
     14 idx_t strtoidx(const char *s, char **end, int base);
     15 
     16 int idxtostr(idx_t i, char **buf);
     17 
     18 #ifdef __cplusplus
     19 }
     20 #endif
     21 #endif /* IDX */