![]() |
Public API Reference |
Platform specific code and wrappers. More...
Namespaces | |
| namespace | Win32 |
Win32-specific classes and functions. | |
Classes | |
| struct | File |
| Functions to abstract platform-specific file access. More... | |
| class | ProcessorSpecDetection |
| Class performing processor specifications and feature detection. More... | |
Functions | |
| int | CreateDirectory (const char *path) |
| Create a directory. | |
| size_t | GetMaxVirtualSize () |
| Retrieve the maximum number of KiB of virtual address space available to the process. | |
| size_t | GetPhysicalMemorySize () |
| Retrieve the number of KiB of physical system memory. | |
| uint | GetProcessorCount () |
| Retrieve the number of processors in the system. | |
| csString | GetTempDirectory () |
| Get system specific temporary folder. | |
| csString | GetTempFilename (const char *path) |
| Get file name for temporary file within specified directory. | |
Platform specific code and wrappers.
| int CS::Platform::CreateDirectory | ( | const char * | path | ) |
Create a directory.
| path | Name of the directory to create. |
mkdir function would retutn in errno). | size_t CS::Platform::GetMaxVirtualSize | ( | ) |
Retrieve the maximum number of KiB of virtual address space available to the process.
| size_t CS::Platform::GetPhysicalMemorySize | ( | ) |
Retrieve the number of KiB of physical system memory.
Retrieve the number of processors in the system.
Get system specific temporary folder.
| csString CS::Platform::GetTempFilename | ( | const char * | path | ) |
Get file name for temporary file within specified directory.