estrdup() assumes that the string is NULL terminated, and it copies the
entire string, including the NULL.
estrndup() forces a NULL byte at the end of the duplicated string.
It *is* in the source, it'd be a bit of a problem if it wasn't :)
Zeev
At 18:06 01-09-01, [EMAIL PROTECTED] wrote:
Couldn't find it anywhere (manpages, zend-api, source...)
--jeroen
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]