7 #ifndef __PHOENIX_SYSTEM_H__
8 #define __PHOENIX_SYSTEM_H__
Path of a directory or a file.
PString phoenix_getDateCompact()
Get the current date.
time_t phoenix_getTime()
Get the current time of the program.
double phoenix_getClockSec()
Get current time.
short unsigned int phoenix_getNbRowTerminal()
Get the number of rows of the terminal.
std::chrono::nanoseconds PhoenixNs
short unsigned int phoenix_getNbColTerminal()
Get the number of columns of the terminal.
time_t phoenix_getClockNs()
Get current time in nanosecond since the starting of the CPU (steady_clock)
time_t phoenix_getClock()
Get current time.
PString phoenix_getDate()
Get the current date.
std::chrono::time_point< PhoenixClock > PhoenixTime
PString phoenix_popen(const PString &command)
Execute the given command and returns the output of this command.
std::chrono::steady_clock PhoenixClock
PString phoenix_whoami()
Get the name of the current user.