About 2,670 results
Open links in new tab
  1. ftell - cppreference.com

    Returns the file position indicator for the file stream stream. If the stream is open in binary mode, the value obtained by this function is the number of bytes from the beginning of the file. If the stream is …

  2. ftell () in C with example - GeeksforGeeks

    Aug 2, 2025 · In C, ftell () is used to determine the position of the file pointer in the file from the beginning of the file. Syntax of fseek () The ftell () function is declared in the <stdio.h> header file.

  3. ftell (3p) - Linux manual page - man7.org

    The ftell () function shall obtain the current value of the file- position indicator for the stream pointed to by stream. The ftell () function shall not change the setting of errno if successful.

  4. ftell, _ftelli64 | Microsoft Learn

    Dec 2, 2022 · ftell and _ftelli64 return the current file position. The value returned by ftell and _ftelli64 may not reflect the physical byte offset for streams opened in text mode, because text mode causes …

  5. C Library - ftell () function

    The C library ftell() function returns the current file position of the given stream. This function is important for determining where in the file the next read or write operation will occur.

  6. ftell - C++ Users

    Returns the current value of the position indicator of the stream. For binary streams, this is the number of bytes from the beginning of the file. For text streams, the numerical value may not be meaningful …

  7. ftell - cppreference.net

    See also fgetpos gets the file position indicator (function) fseek moves the file position indicator to a specific location in a file (function) fsetpos moves the file position indicator to a specific location in a …

  8. ftell (3): reposition stream - Linux man page

    The ftell () function obtains the current value of the file position indicator for the stream pointed to by stream.

  9. c - How the ftell () function works? - Stack Overflow

    ftell() gets you the current value of the position indicator of the stream (in your case, it basically returns the character position it is currently pointing to right now). fgetc() gets the next character (an …

  10. std::ftell - cppreference.com

    Returns the current value of the file position indicator for the file stream stream . If the stream is open in binary mode, the value obtained by this function is the number of bytes from the beginning of the file. …