Photon 1.0.0
Loading...
Searching...
No Matches
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>

Go to the source code of this file.

Namespaces

namespace  spdlog
 
namespace  spdlog::details
 
namespace  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
 
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)
 
SPDLOG_INLINE bool spdlog::details::os::fsync (FILE *fp)
 

Macro Definition Documentation

◆ __has_feature

#define __has_feature (   x)    0