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 - javascript - write to the webpage
programming:microchip pics:MCLR
programming - Free Pascal - Sqlite
embedded systems - SPI and I2C
bible - random notes - 2011-02-12 prayer
MC6802 - instruction set - Complement Accumulator
bible - random notes - 2011-03-06 we shall know him
bible - random notes - 2011-02-03 why
programming - sqlite2
MC6802 - instruction set - test memory
programming - PHP, PDO, Sqlite3
programming - Free Pascal - file extensions
filename:programming:c:function strdup
filename:programming%3Ac%3Afunction%20strdup
last edit:April 05 2009 22:03:40 (5522 days ago)
ct = 1716090823.000000 = May 18 2024 23:53:43
ft = 1238983420.000000 = April 05 2009 22:03:40
dt = 477107403.000000