@node ftell, stdio @findex ftell @subheading Syntax @example #include long ftell(FILE *file); @end example @subheading Description Returns the current file position for @code{file}. This is suitable for a future call to @code{fseek}. @subheading Return Value The file position, or -1 on error. @subheading Portability @portability ansi, posix @subheading Example @example long p = ftell(stdout); @end example