-
Notifications
You must be signed in to change notification settings - Fork 4
ft_strsubchr
VBrazhnik edited this page Aug 22, 2018
·
2 revisions
Prototype | char *ft_strsubchr(const char *s, char c) |
---|---|
Input | String |
Output | Character |
Description | Allocates and returns a “fresh” substring from the string given as argument. The substring begins at the start of original string and ends at the first occurrence of the character given as argument. If the allocation fails or there is no occurrence of the character the function returns NULL |