printf.c and printf.h¶
-
type out_fct_type¶
Output function type
-
struct out_fct_wrap_type¶
Wrapper (used as buffer) for output function type
-
void _out_buffer(char character, void *buffer, int idx, int maxlen)¶
Internal buffer output.
- Parameters
character – TODO
buffer – TODO
idx – TODO
maxlen – TODO
- Since
v0.1
-
void _out_null(char character, void *buffer, int idx, int maxlen)¶
Internal null output.
- Parameters
character – TODO
buffer – TODO
idx – TODO
maxlen – TODO
- Since
v0.1
-
void _out_char(char character, void *buffer, int idx, int maxlen)¶
Internal _putchar wrapper
- Parameters
character – TODO
buffer – TODO
idx – TODO
maxlen – TODO
- Since
v0.1
-
void _out_fct(char character, void *buffer, int idx, int maxlen)¶
Internal output function wrapper
- Parameters
character – TODO
buffer – TODO
idx – TODO
maxlen – TODO
- Since
v0.1
-
unsigned int _strnlen_s(const char *str, int maxsize)¶
Internal secure strlen.
- Parameters
str – an input string
maxsize – a maximum string size
- Returns
The length of the string (excluding the terminating 0) limited by ‘maxsize’
-
int _is_digit()¶
Internal test if char is a digit (0-9)
- Parameters
ch – an input character
- Returns
true if char is a digit
-
unsigned int _atoi(const char **str)¶
Internal ASCII string to unsigned int conversion.
- Parameters
str – TODO
- Returns
unsigned int
-
int _out_rev()¶
Output the specified string in reverse, taking care of any zero-padding.
TODO describe the parameters.