The header file <cross_studio_io.h> defines functions that enable the target program to perform input and output using Virtual Console Services.
These functions are closely modelled on the standard C <stdio.h> functions.
Output functions | |
debug_printf | Formatted output to the virtual console |
debug_putchar | Write one character to the virtual console |
debug_puts | Write string to the virtual console |
Input functions | |
debug_getchar | Read one character from the virtual console |
debug_getd | Read a double floating value from the virtual console |
debug_getf | Read a floating value from the virtual console |
debug_geti | Read an integer from the virtual console |
debug_getl | Read a long integer from the virtual console |
debug_getll | Read a long long integer from the virtual console |
debug_gets | Read a string from the virtual console |
debug_getu | Read an unsigned integer from the virtual console |
debug_getul | Read an unsigned long integer from the virtual console |
debug_getull | Read an unsigned long long integer from the virtual console |
File functions | |
debug_fopen | Open a file |
debug_fflush | Flush a file |
debug_fclose | Close a file |
debug_fprintf | Formatted output to a file |
debug_fgetc | Read one character from a file |
debug_fgets | Read a string from a file |
debug_fputc | Write one character to a file |
debug_fputs | Write a string to a file |
debug_fread | Read from a file |
debug_fwrite | Write to a file |
debug_fseek | Position a file |
debug_ftell | Remember position of a file |
debug_rewind | Reposition to start of a file |
debug_filesize | Get the size of a file |
debug_clearerr | Clear error flags associated with a file |
debug_feof | Test for end of file |
debug_ferror | Test a file for errors |
Debug functions | |
debug_runtime_error | Stop debugger and display a runtime error string |
debug_break | Programmed breakpoint that stops the debugger |
Miscellaneous functions | |
debug_time | Returns the number of seconds elapsed since midnight (00:00:00), January 1, 1970, coordinated universal time (UTC) |