Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::fgetpos

      From cppreference.com
      <cpp‎ |io‎ |c
       
       
       
       
      Defined in header<cstdio>
      int fgetpos(std::FILE* stream,std::fpos_t* pos);

      Obtains the file position indicator and the current parse state (if any) for the file streamstream and stores them in the object pointed to bypos. The value stored is only meaningful as the input tostd::fsetpos.

      Contents

      [edit]Parameters

      stream - file stream to examine
      pos - pointer to afpos_t object to store the file position indicator to

      [edit]Return value

      0 upon success, nonzero value otherwise. Also setserrno on failure.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      returns the current file position indicator
      (function)[edit]
      moves the file position indicator to a specific location in a file
      (function)[edit]
      moves the file position indicator to a specific location in a file
      (function)[edit]
      C documentation forfgetpos
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/c/fgetpos&oldid=145286"

      [8]ページ先頭

      ©2009-2025 Movatter.jp