Skip to content

lib: add and use Curl_strndup()#12251

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/strndup
Closed

lib: add and use Curl_strndup()#12251
bagder wants to merge 1 commit into
masterfrom
bagder/strndup

Conversation

@bagder

@bagder bagder commented Nov 2, 2023

Copy link
Copy Markdown
Member

The Curl_strndup() function is similar to strdup(), but copies 'n' bytes then adds a terminating null byte ('\0').

The Curl_strndup() function is similar to strdup(), but copies 'n' bytes
then adds a terminating null byte ('\0').
@bagder bagder closed this in d3b3ba3 Nov 2, 2023
@bagder bagder deleted the bagder/strndup branch November 2, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant