ft_isspace - kibotrel/42-Libft GitHub Wiki

int     ft_isspace(int c)

Description :

Checks if the given integer c is either ' ', '\t', '\n', '\r', '\v' or '\f' ASCII code considered as spaces.

Return Value :

Returns 1 if it's space ASCII code otherwise, 0 is returned.

Source code