std::ios_base::seekdir

From cppreference.com
< cpp‎ | io‎ | ios base
 
 
Input/output library
I/O manipulators
C-style I/O
Buffers
(deprecated in C++98)
Streams
Abstractions
File I/O
String I/O
Array I/O
(deprecated in C++98)
(deprecated in C++98)
(deprecated in C++98)
Synchronized Output
Types
Error category interface
(C++11)
 
 
typedef /*implementation defined*/ seekdir;
static constexpr seekdir beg = /*implementation defined*/

static constexpr seekdir end = /*implementation defined*/

static constexpr seekdir cur = /*implementation defined*/

Specifies file seeking direction type. The following constants are defined:

Constant Explanation
beg the beginning of a stream
end the ending of a stream
cur the current position of stream position indicator

Example

See also

sets the input position indicator
(public member function of std::basic_istream<CharT,Traits>)
sets the output position indicator
(public member function of std::basic_ostream<CharT,Traits>)
invokes seekoff()
(public member function of std::basic_streambuf<CharT,Traits>)