![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
Functions | |
FXTime | now () |
FXString | time (FXTime value) |
FXString | time (const FXchar *format, FXTime value) |
FXuint | user () |
FXuint | group () |
FXString | userName (FXuint uid) |
FXString | groupName (FXuint gid) |
FXString | currentUserName () |
FXString | currentGroupName () |
FXString | modeString (FXuint mode) |
FXString | getEnvironment (const FXString &name) |
bool | setEnvironment (const FXString &name, const FXString &value) |
FXString | getCurrentDirectory () |
FXbool | setCurrentDirectory (const FXString &path) |
FXString | getCurrentDrive () |
FXbool | setCurrentDrive (const FXString &prefix) |
FXString | getExecPath () |
FXString | getHomeDirectory () |
FXString | getUserDirectory (const FXString &user) |
FXString | getTempDirectory () |
FXString | dllName (const FXString &name) |
FXTime FX::FXSystem::now | ( | ) |
Return current time.
Convert time value to date-string as per strftime.
Format characters supported by most systems are:
a A b B c d H I j m M p S U w W x X y Y Z %%
Some systems support additional conversions.
FXuint FX::FXSystem::user | ( | ) |
Get effective user id.
FXuint FX::FXSystem::group | ( | ) |
Get effective group id.
Referenced by FX::FXRecentFiles::getGroupName(), and FX::FXRecentFiles::setGroupName().
FXString FX::FXSystem::currentUserName | ( | ) |
Get current effective user name.
FXString FX::FXSystem::currentGroupName | ( | ) |
Get current effective group name.
Return value of environment variable name.
Change value of environment variable name, return true if success.
FXString FX::FXSystem::getCurrentDirectory | ( | ) |
Get the current working directory.
Set the current working directory.
FXString FX::FXSystem::getCurrentDrive | ( | ) |
Return the current drive (for Win32 systems)
Set the current drive (for Win32 systems)
FXString FX::FXSystem::getExecPath | ( | ) |
Get executable path.
FXString FX::FXSystem::getHomeDirectory | ( | ) |
Return the home directory for the current user.
Return the home directory for a given user.
FXString FX::FXSystem::getTempDirectory | ( | ) |
Return temporary directory.
![]() |