##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::ios_base::seekdir

From cppreference.com
< cpp‎ | io‎ | ios base

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

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

seekg | sets the input position indicator (public member function of `std::basic_istream`) [edit]
seekp | sets the output position indicator (public member function of `std::basic_ostream`) [edit]
pubseekoff | invokes seekoff() (public member function of `std::basic_streambuf`) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/ios_base/seekdir&oldid=88056"
Category:

- Todo no example