You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prototype | char* ft_strnew(size_tsize);
Description | Allocates (with malloc(3)) and returns a “fresh” string end- ing with ’\0’. Each character of the string is initialized at ’\0’. If the allocation fails the function returns NULL.
Param. #1 | The size of the string to be allocated.
Return value | The string allocated and initialized to 0.
Libc functions | malloc(3)
The text was updated successfully, but these errors were encountered:
Prototype | char* ft_strnew(size_tsize);
Description | Allocates (with malloc(3)) and returns a “fresh” string end- ing with ’\0’. Each character of the string is initialized at ’\0’. If the allocation fails the function returns NULL.
Param. #1 | The size of the string to be allocated.
Return value | The string allocated and initialized to 0.
Libc functions | malloc(3)
The text was updated successfully, but these errors were encountered: