std::ios_base::seekdir (3) - Linux Manuals

std::ios_base::seekdir: std::ios_base::seekdir

NAME

std::ios_base::seekdir - std::ios_base::seekdir

Synopsis


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


 This section is incomplete
 Reason: no example

See also


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