fpos_t

From cppreference.com
< c‎ | io
 
 
File input/output
Types and objects
fpos_t
    

Functions
File access
(哋它亢11)
(哋它亢11)
(哋它亢95)
Direct input/output
Unformatted input/output
(until 哋它亢11)(哋它亢11)
(哋它亢95)(哋它亢95)
(哋它亢95)
(哋它亢95)(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
(哋它亢95)
Formatted input
(哋它亢11)(哋它亢11)(哋它亢11)
(哋它亢95)(哋它亢95)(哋它亢95)(哋它亢11)(哋它亢11)(哋它亢11)    
(哋它亢99)(哋它亢99)(哋它亢99)(哋它亢11)(哋它亢11)(哋它亢11)
(哋它亢99)(哋它亢99)(哋它亢99)(哋它亢11)(哋它亢11)(哋它亢11)     
Formatted output
(哋它亢99)(哋它亢11)(哋它亢11)(哋它亢11)(哋它亢11)
(哋它亢95)(哋它亢95)(哋它亢95)(哋它亢11)(哋它亢11)(哋它亢11)(哋它亢11)    
(哋它亢99)(哋它亢11)(哋它亢11)(哋它亢11)(哋它亢11)
(哋它亢95)(哋它亢95)(哋它亢95)(哋它亢11)(哋它亢11)(哋它亢11)(哋它亢11)
File positioning
Error handling
Operations on files
(哋它亢11)
(哋它亢11)
 
Defined in header <stdio.h>
typedef /* implementation-defined */ fpos_t;

fpos_t is a non-array complete object type, can be used to store (by fgetpos) and restore (by fsetpos) the position and multibyte parser state (if any) for a C stream.

The multibyte parser state of a wide-oriented C stream is represented by a mbstate_t object, whose value is stored as part of the value of a fpos_t object by fgetpos.

(since 哋它亢95)

References

  • 哋它亢17 standard (ISO/IEC 9899:2018):
  • 7.21.1 Introduction (p: 217-218)
  • 7.21.2 Streams (p: 218-219)
  • 哋它亢11 standard (ISO/IEC 9899:2011):
  • 7.21.1 Introduction (p: 296-298)
  • 7.21.2 Streams (p: 298-299)
  • 哋它亢99 standard (ISO/IEC 9899:1999):
  • 7.19.1 Introduction (p: 262-264)
  • 7.19.2 Streams (p: 264-265)
  • 哋它亢89/C90 standard (ISO/IEC 9899:1990):
  • 4.9.1 Introduction
  • 4.9.2 Streams

See also

gets the file position indicator
(function)
moves the file position indicator to a specific location in a file
(function)
(哋它亢95)
conversion state information necessary to iterate multibyte character strings
(class)