WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
os.h File Reference
#include "../common.h"
#include <algorithm>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctime>
#include <functional>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <thread>
#include <fcntl.h>
#include <unistd.h>
Include dependency graph for os.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
 
#define SPDLOG_EOL   "\n"
 
#define SPDLOG_FILENAME_T(s)   s
 

Functions

spdlog::log_clock::time_point spdlog::details::os::now () SPDLOG_NOEXCEPT
 
std::tm spdlog::details::os::localtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
std::tm spdlog::details::os::localtime () SPDLOG_NOEXCEPT
 
std::tm spdlog::details::os::gmtime (const std::time_t &time_tt) SPDLOG_NOEXCEPT
 
std::tm spdlog::details::os::gmtime () SPDLOG_NOEXCEPT
 
void spdlog::details::os::prevent_child_fd (FILE *f)
 
bool spdlog::details::os::fopen_s (FILE **fp, const filename_t &filename, const filename_t &mode)
 
int spdlog::details::os::remove (const filename_t &filename) SPDLOG_NOEXCEPT
 
int spdlog::details::os::rename (const filename_t &filename1, const filename_t &filename2) SPDLOG_NOEXCEPT
 
bool spdlog::details::os::file_exists (const filename_t &filename) SPDLOG_NOEXCEPT
 
size_t spdlog::details::os::filesize (FILE *f)
 
int spdlog::details::os::utc_minutes_offset (const std::tm &tm=details::os::localtime())
 
size_t spdlog::details::os::_thread_id () SPDLOG_NOEXCEPT
 
size_t spdlog::details::os::thread_id () SPDLOG_NOEXCEPT
 
void spdlog::details::os::sleep_for_millis (int milliseconds) SPDLOG_NOEXCEPT
 
std::string spdlog::details::os::filename_to_str (const filename_t &filename)
 
int spdlog::details::os::pid ()
 
bool spdlog::details::os::is_color_terminal () SPDLOG_NOEXCEPT
 
bool spdlog::details::os::in_terminal (FILE *file) SPDLOG_NOEXCEPT
 

Macro Definition Documentation

◆ __has_feature

#define __has_feature (   x)    0

Definition at line 53 of file os.h.

◆ SPDLOG_EOL

#define SPDLOG_EOL   "\n"

Definition at line 116 of file os.h.

◆ SPDLOG_FILENAME_T

#define SPDLOG_FILENAME_T (   s)    s

Definition at line 369 of file os.h.