2 ftell - return a file position
10 return non-negative integer or error value
13 This function attempts to return the current value of the file position
14 indicator for the stream. This is the number of characters (bytes)
15 between the beginning of the file and the position of the
16 next character for output in "w" or "w+" mode or for input.
18 On failure, this returns an error value.
21 > fd = fopen("/tmp/curds", "w")
22 > fputs(fd, "0123456789")
47 fseek, fgetpos, fsetpos, rewind, strerror