Skip to content

Added check for whitespace characters in ft_atoi.c#17

Open
davidmalasek wants to merge 1 commit intok11q:mainfrom
davidmalasek:atoi-whitespace-check
Open

Added check for whitespace characters in ft_atoi.c#17
davidmalasek wants to merge 1 commit intok11q:mainfrom
davidmalasek:atoi-whitespace-check

Conversation

@davidmalasek
Copy link
Copy Markdown

I added check for additional whitespace characters defined by isspace(3), since the exercise states:

The string can start with an arbitray amount of whitespace (as determined by isspace(3)).

Those characters are: \f \n \r \t \v, space character also included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant