About 4,510 results
Open links in new tab
  1. fseek - cppreference.com

    Sets the file position indicator for the file stream stream to the value pointed to by offset. If the stream is open in binary mode, the new position is exactly offset bytes measured from the beginning of the file …

  2. fseek () in C - GeeksforGeeks

    Aug 2, 2025 · The fseek () function is used to move the file pointer associated with a given file to a specific location in the file. It provides random access capabilities, which allow the programmer to …

  3. fseek (3) - Linux manual page - man7.org

    A successful call to the fseek () function clears the end-of-file indicator for the stream and undoes any effects of the ungetc (3) function on the same stream. The ftell () function obtains the current value of …

  4. fseek, _fseeki64 | Microsoft Learn

    Dec 2, 2022 · The fseek and _fseeki64 functions moves the file pointer (if any) associated with stream to a new location that is offset bytes from origin. The next operation on the stream takes place at the …

  5. C Library - fseek () function

    The C library fseek (FILE *stream, long int offset, int whence) function sets the file position of the stream to the given offset.This function is a part of the C Standard Library and is used for file handling.

  6. fseek - C++ Users

    On streams open for update (read+write), a call to fseek allows to switch between reading and writing. Parameters stream Pointer to a FILE object that identifies the stream. offset Binary files: Number of …

  7. C stdio fseek () Function - W3Schools

    Definition and Usage The fseek() function moves the position indicator to a specified position in the file. The fseek() function is defined in the <stdio.h> header file.

  8. fseek - cppreference.net

    Dec 5, 2024 · Sets the file position indicator for the file stream stream to the value pointed to by offset . If the stream is open in binary mode, the new position is exactly offset bytes measured from the …

  9. std::fseek - cppreference.com

    POSIX also requires that fseek first performs std::fflush if there are any unwritten data (but whether the shift state is restored is implementation-defined). The standard C++ file streams guarantee both …

  10. C 库函数 – fseek () | 菜鸟教程

    C 库函数 - fseek () C 标准库 - <stdio.h> 描述 C 库函数 int fseek (FILE *stream, long int offset, int whence) 设置流 stream 的文件位置为给定的偏移 offset,参数 offset 意味着从给定的 whence 位置查 …