Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

otScanfLite.h File Reference

Scanf Lite Library. More...

#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.


Detailed Description

Version:
2.0.0
Author:
Manuele Turini
footer
otStudio - Library Reference - (C) 2020-23 Officina Turini, All Rights Reserved
Document built with Doxygen 1.4.0