~aleteoryx/muditaos

ref: f9b9967b0ebea232eadffedcf7ed6a86c94c5e48 muditaos/module-vfs/include/internal/purefs/fs/thread_local_cwd.hpp -rw-r--r-- 422 bytes
f9b9967b — Maciej-Mudita [EGD-4694] Add CPU frequency shift mechanism 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once
#include <string>

namespace purefs::fs::internal
{
    auto get_thread_local_cwd_path() noexcept -> std::string_view;
    auto set_thread_cwd_path(std::string_view path) noexcept -> int;
    auto cleanup_thread_local_cwd_mem() -> void;
} // namespace purefs::fs::internal