-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_ispunct.c
executable file
·18 lines (16 loc) · 991 Bytes
/
ft_ispunct.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_ispunct.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <akharrou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/24 13:32:17 by akharrou #+# #+# */
/* Updated: 2019/03/04 13:17:20 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
#include "../Includes/ctype_42.h"
int ft_ispunct(int c)
{
return (ISGRAPH(c) && !ISALNUM(c));
}