Started from buttom go to the sky
This commit is contained in:
parent
96215449bd
commit
f811e55dea
4781 changed files with 10121 additions and 1743 deletions
22
stdme/src/char/toupper.c
Normal file
22
stdme/src/char/toupper.c
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* toupper.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/11/04 16:47:50 by maiboyer #+# #+# */
|
||||
/* Updated: 2023/11/04 16:51:28 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "me/char/islower.h"
|
||||
#include "me/char/toupper.h"
|
||||
|
||||
bool me_toupper(char chr)
|
||||
{
|
||||
if (me_islower(chr))
|
||||
return (chr - ('a' - 'A'));
|
||||
else
|
||||
return (chr);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue