SYS_putchar
2-466
C Interface
Syntax
SYS_putchar(c);
Parameters
Char
c;
/* next output character */
Return Value
Void
Description
SYS_putchar outputs the character c by calling the system-dependent
function bound to the configuration parameter Putc function.
((Putc function))(c)
For systems with limited I/O capabilities, the function bound to Putc
function might simply place c into a global buffer that can be examined
after program termination.
The default Putc function for the SYS manager is _UTL_doPutc, which
writes a character to the system trace buffer. The size and memory
segment for the system trace buffer can be set in the SYS Manager
Properties. This system trace buffer can be viewed only by looking for the
SYS_PUTCBEG symbol in the Code Composer Studio memory view.
SYS_putchar is also used internally by SYS_printf and SYS_vprintf when
generating their output.
Constraints and
Calling Context
❏
If the function bound to Putc function is not reentrant, SYS_putchar
must be called atomically.
See Also
SYS_putchar
Output a single character