diff options
Diffstat (limited to 'kapi')
| -rw-r--r-- | kapi/kapi/filesystem.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kapi/kapi/filesystem.hpp b/kapi/kapi/filesystem.hpp index 56bb295f..4b0971f6 100644 --- a/kapi/kapi/filesystem.hpp +++ b/kapi/kapi/filesystem.hpp @@ -86,6 +86,14 @@ namespace kapi::filesystem //! @return A populated file status object on success, an error otherwise. auto status(std::string_view path) -> kstd::result<file_status>; + //! Create a persistent device node at the given path + //! + //! @param path The path to the device node + //! @param type The type of device referenced by the new node. + //! @param number The number of the reference device. + //! @return Nothing on success, an error on failure + auto create_device_node(std::string_view path, file_type type, device_number number) -> kstd::result<void>; + //! @} } // namespace kapi::filesystem |
