opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Namespaces | Functions
os.h File Reference
#include <ctime>
#include <filesystem>
#include <fstream>
#include <string_view>
#include <string>
#include <utility>
Include dependency graph for os.h:

Go to the source code of this file.

Namespaces

namespace  osc
 

Functions

std::tm osc::system_calendar_time ()
 
std::filesystem::path osc::current_executable_directory ()
 
std::filesystem::path osc::user_data_directory (std::string_view organization_name, std::string_view application_name)
 
void osc::open_file_in_os_default_application (const std::filesystem::path &)
 
void osc::open_url_in_os_default_web_browser (std::string_view)
 
std::string osc::get_clipboard_text ()
 
bool osc::set_clipboard_text (std::string_view)
 
std::pair< std::fstream, std::filesystem::path > osc::mkstemp (std::string_view suffix={}, std::string_view prefix={})
 
std::filesystem::path osc::mkdtemp (std::string_view suffix={}, std::string_view prefix={})