Commit graph

3 commits

Author SHA1 Message Date
Khaïs COLIN
6236107bd4 fix(ft_strchr): c was not cast to char for check agains \0 2024-10-23 10:35:01 +02:00
Khaïs COLIN
d517a05f90 ft_strchr: fix 2 small bugs
1. Compairing was done with ints, not bytes
2. did not correctly give pointer to null terminator
2024-10-18 17:44:41 +02:00
Khaïs COLIN
3754c47e8c ft_strchr: initial implementation 2024-10-16 10:46:16 +02:00