![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <types.h>

Go to the source code of this file.
Functions | |
| unsigned long | simple_strtoul (const char *cp, char **endp, unsigned int base) |
| Convert a string to an unsigned long integer, with optional base detection. | |
| unsigned long long | simple_strtoull (const char *cp, char **endp, unsigned int base) |
| Convert a string to an unsigned long long integer, with optional base detection. | |
| unsigned long | simple_hextoul (const char *cp, char **endp) |
| Convert a string in hexadecimal format to an unsigned long integer. | |
| unsigned long | simple_dectoul (const char *cp, char **endp) |
| Convert a string in decimal format to an unsigned long integer. | |
| long | simple_strtol (const char *cp, char **endp, unsigned int base) |
| Convert a string to a long integer, with optional base detection. | |
| unsigned long | simple_ustrtoul (const char *cp, char **endp, unsigned int base) |
| Convert a string to an unsigned long integer, with optional base detection, for unsigned strings. | |
| unsigned long long | simple_ustrtoull (const char *cp, char **endp, unsigned int base) |
| Convert a string to an unsigned long long integer, with optional base detection, for unsigned strings. | |
| long long | simple_strtoll (const char *cp, char **endp, unsigned int base) |
| Convert a string to a long long integer, with optional base detection. | |
| long | trailing_strtoln_end (const char *str, const char *end, char const **endp) |
| Convert a string to a long integer, with trailing string checking. | |
| long | trailing_strtoln (const char *str, const char *end) |
| Convert a string to a long integer, with trailing string checking. | |
| long | trailing_strtol (const char *str) |
| Convert a string to a long integer. | |
| void | str_to_upper (const char *in, char *out, size_t len) |
| Convert a string to uppercase. | |
| char * | ltoa (long int num, char *str, int base) |
| Convert a long integer to a string representation. | |
| int | simple_atoi (const char *nptr) |
| Convert a string to an integer. | |
| long long | simple_atoll (const char *nptr) |
| Convert a string to a long long integer. | |
| int | simple_abs (int n) |
| Calculate the absolute value of an integer. | |
| char * ltoa | ( | long int | num, |
| char * | str, | ||
| int | base | ||
| ) |
Convert a long integer to a string representation.
| num | The input long integer value. |
| str | The output string to store the converted value. |
| base | The number base to use for conversion. |
| int simple_abs | ( | int | n | ) |
Calculate the absolute value of an integer.
| n | The input integer. |
| int simple_atoi | ( | const char * | nptr | ) |
Convert a string to an integer.
| nptr | The input string. |
| long long simple_atoll | ( | const char * | nptr | ) |
Convert a string to a long long integer.
| nptr | The input string. |
| unsigned long simple_dectoul | ( | const char * | cp, |
| char ** | endp | ||
| ) |
Convert a string in decimal format to an unsigned long integer.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| unsigned long simple_hextoul | ( | const char * | cp, |
| char ** | endp | ||
| ) |
Convert a string in hexadecimal format to an unsigned long integer.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| long simple_strtol | ( | const char * | cp, |
| char ** | endp, | ||
| unsigned int | base | ||
| ) |
Convert a string to a long integer, with optional base detection.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| base | The number base to use for conversion. |
| long long simple_strtoll | ( | const char * | cp, |
| char ** | endp, | ||
| unsigned int | base | ||
| ) |
Convert a string to a long long integer, with optional base detection.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| base | The number base to use for conversion. |
| unsigned long simple_strtoul | ( | const char * | cp, |
| char ** | endp, | ||
| unsigned int | base | ||
| ) |
Convert a string to an unsigned long integer, with optional base detection.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| base | The number base to use for conversion. |
| unsigned long long simple_strtoull | ( | const char * | cp, |
| char ** | endp, | ||
| unsigned int | base | ||
| ) |
Convert a string to an unsigned long long integer, with optional base detection.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| base | The number base to use for conversion. |
| unsigned long simple_ustrtoul | ( | const char * | cp, |
| char ** | endp, | ||
| unsigned int | base | ||
| ) |
Convert a string to an unsigned long integer, with optional base detection, for unsigned strings.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| base | The number base to use for conversion. |
| unsigned long long simple_ustrtoull | ( | const char * | cp, |
| char ** | endp, | ||
| unsigned int | base | ||
| ) |
Convert a string to an unsigned long long integer, with optional base detection, for unsigned strings.
| cp | The input string. |
| endp | A pointer to the character after the last parsed character. |
| base | The number base to use for conversion. |
| void str_to_upper | ( | const char * | in, |
| char * | out, | ||
| size_t | len | ||
| ) |
Convert a string to uppercase.
| in | The input string. |
| out | The output string to store the uppercase characters. |
| len | The length of the input string. |
| long trailing_strtol | ( | const char * | str | ) |
Convert a string to a long integer.
| str | The input string. |
| long trailing_strtoln | ( | const char * | str, |
| const char * | end | ||
| ) |
Convert a string to a long integer, with trailing string checking.
| str | The input string. |
| end | The trailing string to check for. |
| long trailing_strtoln_end | ( | const char * | str, |
| const char * | end, | ||
| char const ** | endp | ||
| ) |
Convert a string to a long integer, with trailing string checking.
| str | The input string. |
| end | The trailing string to check for. |
| endp | A pointer to the character after the last parsed character. |