19 lines
992 B
C
19 lines
992 B
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* pf_toupper.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: tmaze <tmaze@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2019/02/11 07:51:45 by tmaze #+# #+# */
|
|
/* Updated: 2019/02/11 07:51:54 by tmaze ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "libftprintf.h"
|
|
|
|
int pf_toupper(int c)
|
|
{
|
|
return ((c >= 'a' && c <= 'z') ? c - 32 : c);
|
|
}
|