Libft
42 Libft library documentation
Loading...
Searching...
No Matches
ft_isalpha.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_isalpha.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: raphalme <raphalme@student.42.fr> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2025/12/29 18:16:29 by raphalme #+# #+# */
9
/* Updated: 2026/04/14 11:01:03 by raphalme ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
19
int
isalpha
(
int
c)
20
{
21
return
(((
unsigned
int
)(c | 32) -
'a'
) < 26);
22
}
isalpha
int isalpha(int c)
Checks whether a character is alphabetic.
Definition
ft_isalpha.c:19
src
ft_isalpha.c
Generated by
1.9.8