Agora  1.2.0
Agora project
os-inl.h File Reference
#include <spdlog/details/os.h>
#include <spdlog/common.h>
#include <algorithm>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <string>
#include <thread>
#include <array>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for os-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spdlog
 
 spdlog::details
 
 spdlog::details::os
 

Macros

#define __has_feature(x)   0
 

Functions

SPDLOG_INLINE spdlog::log_clock::time_point spdlog::details::os::now () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::localtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::localtime () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::gmtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::tm spdlog::details::os::gmtime () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::fopen_s (FILE **fp, const filename_t &filename, const filename_t &mode)
 
SPDLOG_INLINE int spdlog::details::os::remove (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE int spdlog::details::os::remove_if_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE int spdlog::details::os::rename (const filename_t &filename1, const filename_t &filename2) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::path_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE size_t spdlog::details::os::filesize (FILE *f)
 
SPDLOG_INLINE int spdlog::details::os::utc_minutes_offset (const std::tm &tm)
 
SPDLOG_INLINE size_t spdlog::details::os::_thread_id () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE size_t spdlog::details::os::thread_id () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE void spdlog::details::os::sleep_for_millis (unsigned int milliseconds) SPDLOG_NOEXCEPT
 
SPDLOG_INLINE std::string spdlog::details::os::filename_to_str (const filename_t &filename)
 
SPDLOG_INLINE int spdlog::details::os::pid () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::is_color_terminal () SPDLOG_NOEXCEPT
 
SPDLOG_INLINE bool spdlog::details::os::in_terminal (FILE *file) SPDLOG_NOEXCEPT
 
static SPDLOG_INLINE bool spdlog::details::os::mkdir_ (const filename_t &path)
 
SPDLOG_INLINE bool spdlog::details::os::create_dir (const filename_t &path)
 
SPDLOG_INLINE filename_t spdlog::details::os::dir_name (const filename_t &path)
 
std::string SPDLOG_INLINE spdlog::details::os::getenv (const char *field)
 

Macro Definition Documentation

◆ __has_feature

#define __has_feature (   x)    0