-
Notifications
You must be signed in to change notification settings - Fork 13
Console functions
This category contains function for handling console in/out. More...
| Type | Name |
|---|---|
| fpl_platform_api void |
fplConsoleError (const char *text) Writes the given text to the standard error console buffer. |
| fpl_common_api void |
fplConsoleFormatError (const char *format,...) Writes the given formatted text to the standard error console buffer. |
| fpl_common_api void |
fplConsoleFormatOut (const char *format,...) Writes the given formatted text to the standard output console buffer. |
| fpl_platform_api void |
fplConsoleOut (const char *text) Writes the given text to the standard output console buffer. |
| fpl_platform_api char |
fplConsoleWaitForCharInput (void) Waits for a character to be typed in the console input and returns it. |
This category contains function for handling console in/out.
fpl_platform_api void fplConsoleError ( const char * text)Writes the given text to the standard error console buffer.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | text | The text to write into the standard error console. |
Note: This is most likely just a wrapper call to fprintf(stderr).
fpl_common_api void fplConsoleFormatError ( const char * format, ... )Writes the given formatted text to the standard error console buffer.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | format | The format used for writing into the standard error console. |
| [in] | ... | The dynamic arguments used for formatting the text. |
Note: This is most likely just a wrapper call to vfprintf(stderr).
fpl_common_api void fplConsoleFormatOut ( const char * format, ... )Writes the given formatted text to the standard output console buffer.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | format | The format used for writing into the standard output console. |
| [in] | ... | The dynamic arguments used for formatting the text. |
Note: This is most likely just a wrapper call to vfprintf(stdout).
fpl_platform_api void fplConsoleOut ( const char * text)Writes the given text to the standard output console buffer.
Parameters
| Direction | Parameter | Description |
|---|---|---|
| [in] | text | The text to write into the standard output console. |
Note: This is most likely just a wrapper call to fprintf(stdout).
fpl_platform_api char fplConsoleWaitForCharInput ( void )Waits for a character to be typed in the console input and returns it.
Note: This is most likely just a wrapper call to getchar().
Returns: Returns the character typed in the console input.
- Assertion & Debug
- Atomic operations
- Audio functions
- Clipboard functions
- Console functions
- Constants
- Display/Monitor functions
- Dynamic library loading
- Error Handling
- Files/IO functions
- Function macros
- Hardware Infos
- Input types and functions
- Localization functions
- Logging
- Memory Macros
- Memory functions
- Operating system Infos
- Path functions
- Platform functions
- Session Infos
- Settings & Configurations
- Storage class identifiers
- String functions
- Threading and synchronizations routines
- Timing functions
- Video functions
- Window events
- Window functions
- fplARMCPUCapabilities
- fplAudioChannelMap
- fplAudioDeviceID
- fplAudioDeviceInfo
- fplAudioFormat
- fplAudioSettings
- fplColor32
- fplConditionVariable
- fplConsoleSettings
- fplCPUCapabilities
- fplCPUIDLeaf
- fplDateTime
- fplDateTimeCreationResult
- fplDateTimeResult
- fplDisplayInfo
- fplDisplayMode
- fplDynamicLibraryHandle
- fplEndianess
- fplEvent
- fplFileEntry
- fplFileHandle
- fplFilePermissions
- fplFileTimeStamps
- fplGamepadButton
- fplGamepadData
- fplGamepadEvent
- fplGamepadInfo
- fplGamepadInputBinding
- fplGamepadMapping
- fplGamepadSettings
- fplGamepadState
- fplGamepadStates
- fplGraphicsApiSettings
- fplImageSource
- fplInputBackendMask
- fplInputBackendSupport
- fplInputDevice
- fplInputDeviceGuid
- fplInputSettings
- fplInternalConditionVariable
- fplInternalDynamicLibraryHandle
- fplInternalFileEntryHandle
- fplInternalFileHandle
- fplInternalFileRootInfo
- fplInternalMutexHandle
- fplInternalSemaphoreHandle
- fplInternalSignalHandle
- fplInternalThreadHandle
- fplKeyboardEvent
- fplKeyboardState
- fplLogSettings
- fplLogWriter
- fplLogWriterConsole
- fplLogWriterCustom
- fplMemoryAllocationSettings
- fplMemoryBlock
- fplMemoryInfos
- fplMemorySettings
- fplMouseEvent
- fplMouseState
- fplMutexHandle
- fplOpenGLSettings
- fplOSVersionInfos
- fplSemaphoreHandle
- fplSettings
- fplSignalHandle
- fplSpecificAudioSettings
- fplThreadHandle
- fplThreadParameters
- fplTimestamp
- fplVersionInfo
- fplVideoBackBuffer
- fplVideoRect
- fplVideoRequirements
- fplVideoRequirementsVulkan
- fplVideoSettings
- fplVideoSurface
- fplVideoSurfaceOpenGL
- fplVideoSurfaceVulkan
- fplVideoWindow
- fplVulkanSettings
- fplWindowCallbacks
- fplWindowDropFiles
- fplWindowEvent
- fplWindowPosition
- fplWindowSettings
- fplWindowSize
- fplX86CPUCapabilities