Update string.c

This commit is contained in:
ErrorTP 2022-12-04 09:56:42 -05:00 committed by GitHub
parent 6310e07623
commit 9be5ff45a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,3 +75,8 @@ int strcmp(char s1[], char s2[]) {
}
return s1[i] - s2[i];
}
char chrupper(char chr) {
if((chr>96) && (chr<123)) chr ^=0x20;
return chr;
}