programming - C - function strdupWhat links here?

Description

The strdup() function allocates memory and copies into it the string addressed by s1, including the terminating null character. It is the user's responsibility to free the allocated storage by calling free().

Syntax

char *strdup(const char *s1)


Parameters



Return Values

On success, strdup() returns a pointer to a newly allocated copy of the string s1. On failure, strdup() returns a null pointer and sets errno as follows:

programming - C - function strdup
programming - windows - WM_CREATE
programming:c:function isdigit
programming:c:function fseek
programming:c:function isalnum
programming:c:function strpbrk
programming:c:function strncat
programming:c:function strchr
programming:c:functions:_splitpath
programming:windows:SetWindowText
programming:c:function iscntrl
programming:cpp:Cpp operator overloading
programming:c:function rewind
programming:c:function strpos
programming:c:function strtok
programming:c:function isalpha
programming:c:function strrev
programming - C - function strrchr
filename:programming - C - function strdup
filename:programming%20%2D%20C%20%2D%20function%20strdup
last edit:April 06 2009 02:03:40 (6429 days ago)
ct = 1794509847.000000 = November 12 2026 18:57:27
ft = 1238983420.000000 = April 06 2009 02:03:40
dt = 555526427.000000