[C] isalnum / isalnum.c / isalnum in c

2022. 7. 13. 00:36🧑🏻‍💻/C & C++

man isalnum

int	isalnum(int c)
{
	if ((c >= 0x30 && c <= 0x39) || (c >= 0x41 && c <= 0x5a)
		|| (c >= 0x61 && c <= 0x7a))
		return (c);
	return (0);
}

 

'🧑🏻‍💻 > C & C++' 카테고리의 다른 글

[C] isascii / isascii.c / isascii in c  (0) 2022.07.13
[C] isalpha / isalpha.c / isalpha in c  (0) 2022.07.13
[C] calloc / calloc.c / calloc in c  (0) 2022.07.13
[C] bzero / bzero.c / bzero in c  (0) 2022.07.13
c example  (0) 2022.07.06