diff options
author | trimill <trimill@trimillxyz.org> | 2024-01-31 22:30:35 -0500 |
---|---|---|
committer | trimill <trimill@trimillxyz.org> | 2024-02-01 17:01:20 -0500 |
commit | b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a (patch) | |
tree | 2b352192a63e75fa921ac82ef370adb7da49434d /include/lib.h | |
parent | display mem formatted (diff) | |
download | corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.tar.gz corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.tar.bz2 corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.zip |
follow the corn style guide
Diffstat (limited to '')
-rw-r--r-- | include/lib.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/lib.h b/include/lib.h index d808833..f60cf5e 100644 --- a/include/lib.h +++ b/include/lib.h @@ -92,25 +92,25 @@ int ctoi(char c); * @param s - the string to convert * @returns the number inside s or 0 on error */ -int atoi(const char* s); +int atoi(const char *s); /** * Converts the initial portiion of the string pointed to by s to long. * @param s - the string to convert * @returns the number inside s or 0 on error */ -long int atol(const char* s); +long int atol(const char *s); /** * Converts the initial portiion of the string pointed to by s to long long. * @param s - the string to convert * @returns the number inside s or 0 on error */ -long long int atoll(const char* s); +long long int atoll(const char *s); /** * Converts a integer to asci inside a string with a given radix (base). - * @param n - the number to conver + * @param n - the number to convert * @param buffer - the string buffer * @param radix - the base to convert */ @@ -118,7 +118,7 @@ char *itoa(int n, char *buffer, int radix); /** * Converts a long to asci inside a string with a given radix (base). - * @param n - the number to conver + * @param n - the number to convert * @param buffer - the string buffer * @param radix - the base to convert */ @@ -134,7 +134,7 @@ char *lltoa(long long int n, char *buffer, int radix); /** * Converts a unsigned integer to asci inside a string with a given radix (base). - * @param n - the number to conver + * @param n - the number to convert * @param buffer - the string buffer * @param radix - the base to convert */ @@ -142,7 +142,7 @@ char *utoa(unsigned int n, char *buffer, int radix); /** * Converts a unsigned long to asci inside a string with a given radix (base). - * @param n - the number to conver + * @param n - the number to convert * @param buffer - the string buffer * @param radix - the base to convert */ |