#include <stdarg.h>
#include "otdefs.h"
Functions | |
void | setStdin (U8 chan) |
Set the standard input. Use UART0, UART1. | |
int | scanf (const char *format,...) |
Read formatted data from stdin. Reads data from stdin and stores them according to the parameter format into the locations pointed by the additional arguments. The additional arguments should point to already allocated objects of the type specified by their corresponding format specifier within the format string. | |
int | sscanf (const char *str, const char *fmt,...) |
Reads data from s and stores them according to parameter format into the locations given by the additional arguments, as if scanf was used, but reading from s instead of the standard input (stdin). | |
int | vsscanf (const char *str, const char *fmt, va_list ap) |
Read formatted data from string into variable argument list. |