Standard I/O#
Standard I/O allows to get and put characters on stdio stream that is the default in I/O Streams.
Functions#
Put a character on the default stream.
Get a character on the default stream.
Macros#
Put a character on the default stream (match standard API).
Get a character on the default stream.
Function Documentation#
sl_putchar#
sl_status_t sl_putchar (char c)
Put a character on the default stream.
[in] | c | Character to print |
Returns
Status result
62
of file platform/common/inc/sl_stdio.h
sl_getchar#
sl_status_t sl_getchar (char * c)
Get a character on the default stream.
[out] | c | Pointer to variable that will receive the character. |
Returns
Status result
81
of file platform/common/inc/sl_stdio.h
Macro Definition Documentation#
putchar#
#define putcharValue:
(c)
Put a character on the default stream (match standard API).
Returns
On success, the character written is returned. If a writing error occurs, -1 is returned (EOF).
72
of file platform/common/inc/sl_stdio.h
getchar#
#define getcharValue:
sl_getchar_std_wrapper
Get a character on the default stream.
Returns
On success, the character read is returned If a reading error occurs, -1 is returned (EOF).
89
of file platform/common/inc/sl_stdio.h