aboutsummaryrefslogtreecommitdiff
path: root/kapi/kapi/filesystem/seek.hpp
blob: 42bee22d3a94857c484b7ee86a4ddc9155c06a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef TEACHOS_KAPI_FILESYSTEM_SEEK_HPP
#define TEACHOS_KAPI_FILESYSTEM_SEEK_HPP

// IWYU pragma: private, include <kapi/filesystem.hpp>

namespace kapi::filesystem
{

  //! The origin for a seek operation.
  enum struct seek_origin
  {
    //! Seek from the beginning of the file.
    beginning,
    //! Seek from the current position.
    current_position,
    //! Seek from the end of the file.
    end,
  };

}  // namespace kapi::filesystem

#endif