off_t may be not compatible with size_t.