diff options
author | axtloss <axtlos@getcryst.al> | 2024-02-25 14:42:49 +0100 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-02-25 14:42:49 +0100 |
commit | 997368fe5f7ae8651982d0ba509bb54051b54e34 (patch) | |
tree | 7aa0e232ebf095b26981cc206affe6ed3519818c /fbwarn/src/extString.c | |
parent | 507d58d48f3e99f5fd45171cdbadd9c690f47fe1 (diff) | |
download | fsverify-997368fe5f7ae8651982d0ba509bb54051b54e34.tar.gz fsverify-997368fe5f7ae8651982d0ba509bb54051b54e34.tar.bz2 |
Expand rectangle function with fill arg
Diffstat (limited to '')
-rw-r--r-- | fbwarn/src/extString.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fbwarn/src/extString.c b/fbwarn/src/extString.c new file mode 100644 index 0000000..c93cffd --- /dev/null +++ b/fbwarn/src/extString.c @@ -0,0 +1,15 @@ +#include <stdlib.h> +#include <string.h> +#include <ctype.h> + +char *strlwr(char *str) +{ + unsigned char *p = (unsigned char *)str; + + while (*p) { + *p = tolower((unsigned char)*p); + p++; + } + + return str; +} |