Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ft_strnew #3

Closed
nz-nz opened this issue Jun 29, 2019 · 0 comments
Closed

ft_strnew #3

nz-nz opened this issue Jun 29, 2019 · 0 comments
Assignees
Milestone

Comments

@nz-nz
Copy link
Owner

nz-nz commented Jun 29, 2019

 

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)

@nz-nz nz-nz self-assigned this Jun 29, 2019
@nz-nz nz-nz reopened this Jul 15, 2019
@nz-nz nz-nz transferred this issue from nz-nz/42 Jul 15, 2019
@nz-nz nz-nz added this to the part 2 milestone Jul 15, 2019
This was referenced Jul 15, 2019
nz-nz pushed a commit that referenced this issue Jul 15, 2019
@nz-nz nz-nz closed this as completed in 2befd5c Jul 15, 2019
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

No branches or pull requests

1 participant