#include "file.h" #include long ftell(struct __opaque_file *stream) { return lseek(stream->f_fd, 0, SEEK_CUR); }