Namespaces | |
namespace | Time |
Classes | |
class | SystemData |
System specific Falcon VM data. More... | |
struct | VM_SYS_DATA |
Functions | |
FALCON_DYN_SYM bool | _describeError (int64 eid, String &target) |
FALCON_DYN_SYM void | _dummy_ctrl_c_handler () |
FALCON_DYN_SYM bool | _getEnv (const String &var, String &result) |
FALCON_DYN_SYM int64 | _lastError () |
FALCON_DYN_SYM numeric | _localSeconds () |
Gives current second count from Epoch in localtime. | |
FALCON_DYN_SYM uint32 | _milliseconds () |
Returns a counter representing a time entity. | |
FALCON_DYN_SYM numeric | _seconds () |
Gives current second count from Epoch. | |
FALCON_DYN_SYM bool | _setEnv (const String &var, const String &value) |
FALCON_DYN_SYM void | _tempName (::Falcon::String &res) |
Returns a valid and possibly unique temporary file name. | |
FALCON_DYN_SYM bool | _unsetEnv (const String &var) |
bool FALCON_DYN_SYM | fal_chdir (const String &filename, int32 &fsStatus) |
bool FALCON_DYN_SYM | fal_chgrp (const String &fname, int32 grp) |
bool FALCON_DYN_SYM | fal_chmod (const String &fname, uint32 mode) |
bool FALCON_DYN_SYM | fal_chown (const String &fname, int32 owner) |
void FALCON_DYN_SYM | fal_closeDir (DirEntry *entry) |
bool FALCON_DYN_SYM | fal_fileType (const String &filename, FileStat::e_fileType &st) |
bool FALCON_DYN_SYM | fal_getcwd (String &fname, int32 &fsError) |
bool FALCON_DYN_SYM | fal_mkdir (const String &filename, int32 &fsStatus) |
bool FALCON_DYN_SYM | fal_move (const String &filename, const String &dest, int32 &fsStatus) |
DirEntry FALCON_DYN_SYM * | fal_openDir (const String &path, int32 &fsError) |
bool FALCON_DYN_SYM | fal_readlink (const String &fname, String &link) |
bool FALCON_DYN_SYM | fal_rmdir (const String &filename, int32 &fsStatus) |
bool FALCON_DYN_SYM | fal_stats (const String &filename, FileStat &st) |
bool FALCON_DYN_SYM | fal_unlink (const String &filename, int32 &fsStatus) |
bool FALCON_DYN_SYM | fal_writelink (const String &fname, const String &link) |
void * | sys_allocPage () |
void | sys_freePage (void *page) |
int | sys_pageSize () |
FALCON_DYN_SYM bool Falcon::Sys::_describeError | ( | int64 | eid, | |
String & | target | |||
) |
FALCON_DYN_SYM void Falcon::Sys::_dummy_ctrl_c_handler | ( | ) |
FALCON_DYN_SYM bool Falcon::Sys::_getEnv | ( | const String & | var, | |
String & | result | |||
) |
FALCON_DYN_SYM int64 Falcon::Sys::_lastError | ( | ) |
FALCON_DYN_SYM numeric Falcon::Sys::_localSeconds | ( | ) |
Gives current second count from Epoch in localtime.
The number of seconds is generally returned in localtime, if this feature is available in the system.
FALCON_DYN_SYM uint32 Falcon::Sys::_milliseconds | ( | ) |
Returns a counter representing a time entity.
This is a direct interface to the fastest possible function the hosts systems has to provide a millisecond counter. The "0" moment is undefined (it may be the start of the program, the last reboot time or epoch), and the resolution of the calls are limited to what the system provides, but it is granted that calling _milliseconds() at T1 > T0 will result in the return value of the second call being greater or equal than the first. The difference between the two numbers express the number of milliseconds roughly elapsed between the two calls.
FALCON_DYN_SYM numeric Falcon::Sys::_seconds | ( | ) |
Gives current second count from Epoch.
The number of seconds is generally returned in GMT, if this feature is available in the system.
FALCON_DYN_SYM bool Falcon::Sys::_setEnv | ( | const String & | var, | |
const String & | value | |||
) |
FALCON_DYN_SYM void Falcon::Sys::_tempName | ( | ::Falcon::String & | res | ) |
Returns a valid and possibly unique temporary file name.
Just a haky test for now, final version must OPEN the stream and return it.
res | on return will contain a to C stringed filename. |
FALCON_DYN_SYM bool Falcon::Sys::_unsetEnv | ( | const String & | var | ) |
bool FALCON_DYN_SYM Falcon::Sys::fal_chdir | ( | const String & | filename, | |
int32 & | fsStatus | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_chgrp | ( | const String & | fname, | |
int32 | grp | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_chmod | ( | const String & | fname, | |
uint32 | mode | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_chown | ( | const String & | fname, | |
int32 | owner | |||
) |
void FALCON_DYN_SYM Falcon::Sys::fal_closeDir | ( | DirEntry * | entry | ) |
bool FALCON_DYN_SYM Falcon::Sys::fal_fileType | ( | const String & | filename, | |
FileStat::e_fileType & | st | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_getcwd | ( | String & | fname, | |
int32 & | fsError | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_mkdir | ( | const String & | filename, | |
int32 & | fsStatus | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_move | ( | const String & | filename, | |
const String & | dest, | |||
int32 & | fsStatus | |||
) |
DirEntry FALCON_DYN_SYM* Falcon::Sys::fal_openDir | ( | const String & | path, | |
int32 & | fsError | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_readlink | ( | const String & | fname, | |
String & | link | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_rmdir | ( | const String & | filename, | |
int32 & | fsStatus | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_stats | ( | const String & | filename, | |
FileStat & | st | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_unlink | ( | const String & | filename, | |
int32 & | fsStatus | |||
) |
bool FALCON_DYN_SYM Falcon::Sys::fal_writelink | ( | const String & | fname, | |
const String & | link | |||
) |
void* Falcon::Sys::sys_allocPage | ( | ) |
Referenced by Falcon::HeapMem::allocPage().
void Falcon::Sys::sys_freePage | ( | void * | page | ) |
Referenced by Falcon::HeapMem::freePage().
int Falcon::Sys::sys_pageSize | ( | ) |
Referenced by Falcon::HeapMem::pageSize().