next up previous contents [pdf] index

Next: size_t Up: sys/types.h Previous: sys/types.h

off_t

This is a data type defined in the sys/types.h header file (of fundamental type unsigned long) and is used to measure the file offset in bytes from the beginning of the file. It is defined as a signed, 32-bit integer, but if the programming environment enables large files off_t is defined to be a signed, 64-bit integer.




2011-07-02