Objective
Implement a function that allocates a fresh buffer on the heap and copies a string into it, byte by byte, including the null terminator.
Steps
$ strdup("oh my zsh")
"oh my zsh"
$ strdup("")
""
Expected files
Allowed functions
Allowed headers

Objective
Implement a function that allocates a fresh buffer on the heap and copies a string into it, byte by byte, including the null terminator.
Steps
$ strdup("oh my zsh")
"oh my zsh"
$ strdup("")
""
Expected files
Allowed functions
Allowed headers

Tests
Run the tests to grade your code