Program Listing for File stdio.h
↰ Return to documentation for file (rcsw/stdio/stdio.h
)
#pragma once
/*******************************************************************************
* Includes
******************************************************************************/
#include "rcsw/rcsw.h"
/*******************************************************************************
* Configuration
******************************************************************************/
BEGIN_C_DECLS
#ifndef RCSW_CONFIG_STDIO_PUTCHAR
#define RCSW_CONFIG_STDIO_PUTCHAR putchar
#endif
RCSW_WARNING_DISABLE_PUSH()
RCSW_WARNING_DISABLE_REDUNDANT_DECLS()
RCSW_API int RCSW_CONFIG_STDIO_PUTCHAR(int c);
RCSW_WARNING_DISABLE_POP()
#ifndef RCSW_CONFIG_STDIO_GETCHAR
#define RCSW_CONFIG_STDIO_GETCHAR getchar
#endif
RCSW_WARNING_DISABLE_PUSH()
RCSW_WARNING_DISABLE_REDUNDANT_DECLS()
RCSW_API int RCSW_CONFIG_STDIO_GETCHAR(void);
RCSW_WARNING_DISABLE_POP()
/*******************************************************************************
* Function Prototypes
******************************************************************************/
RCSW_API size_t stdio_puts(const char *s);
RCSW_API int stdio_putchar(int c);
RCSW_API int stdio_getchar(void);
RCSW_API int stdio_atoi(const char *s, int base) RCSW_PURE;
RCSW_API char *stdio_itoad(int32_t n, char *s);
RCSW_API char *stdio_itoax(uint32_t i, char *s, bool_t add_0x);
END_C_DECLS