Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Last active August 29, 2015 14:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shichao-an/530b106fa164cb197077 to your computer and use it in GitHub Desktop.
#include <stdio.h>
off_t ftello(FILE *fp);
/* Returns: current file position indicator if OK, (off_t)−1 on error */
int fseeko(FILE *fp, off_t offset, int whence);
/* Returns: 0 if OK, −1 on error */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment