61 #define _SNPRINTF_FAMILY __attribute__ ((format(printf,3,4)))
62 #define _SSCANF_FAMILY __attribute__ ((format(scanf,2,3)))
64 #define _PRINTF_FAMILY __attribute__ ((format(printf,1,2)))
65 #define _SCANF_FAMILY __attribute__ ((format(scanf,1,2)))
74 int elu_snprintf(
char*s,
unsigned int n,
const char*format,...) _SNPRINTF_FAMILY;
83 int elu_sscanf(const
char*s,const
char*format,...) _SSCANF_FAMILY;
94 int elu_printf(const
char*format,...) _PRINTF_FAMILY;
105 int elu_println(const
char*format,...) _PRINTF_FAMILY;
119 int elu_scanf(const
char*format,...) _SCANF_FAMILY;
130 int elu_putchar(
int c);
133 #ifdef EL_INCLUDE_LIB_INTERNAL_CONTEXT
135 #define ELU_STDIO_BUFFER_SIZE 80
136 extern char elu_stdio_buffer[ELU_STDIO_BUFFER_SIZE];
int elu_printf(const char *format,...) _PRINTF_FAMILY
send a string with data fields to UART1
void elu_scanf_set_echo(bool k)
configure whether elu_scanf echo the character received
int elu_sscanf(const char *s, const char *format,...) _SSCANF_FAMILY
sscanf to be used here
int elu_snprintf(char *s, unsigned int n, const char *format,...) _SNPRINTF_FAMILY
snprintf to be used here
int elu_println(const char *format,...) _PRINTF_FAMILY
send a string with data fields + a newline char to UART1
int elu_scanf(const char *format,...) _SCANF_FAMILY
scanf to be used here