| www.delorie.com/djgpp/doc/libc/libc_366.html | search |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdio.h> long ftell(FILE *file); |
Returns the current file position for file. This is suitable for
a future call to fseek.
The file position, or -1 on error.
| ANSI/ISO C | C89; C99 |
| POSIX | 1003.2-1992; 1003.1-2001 |
long p = ftell(stdout); |
| webmaster | delorie software privacy |
| Copyright © 2004 | Updated Apr 2004 |