-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprintf_utils.c
More file actions
21 lines (20 loc) · 1.06 KB
/
printf_utils.c
File metadata and controls
21 lines (20 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* printf_utils.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: meltremb <meltremb@student.42quebec> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/05/03 12:11:19 by meltremb #+# #+# */
/* Updated: 2022/05/09 10:59:03 by meltremb ### ########.fr */
/* */
/* ************************************************************************** */
#include"ft_printf.h"
int canprintpls_uwu(char c)
{
if (c == 'c' || c == 's' || c == 'p'
|| c == 'd' || c == 'i' || c == 'u'
|| c == 'x' || c == 'X' || c == '%')
return (1);
return (0);
}