view doc/posix-functions/strdup.texi @ 15607:6355dc4626b5

doc: Update regarding MSVC 9. * doc/gnulib-intro.texi (Target Platforms): Classify MSVC as "rarely tested". * doc/posix-functions/*.texi: Update with info about MSVC 9. * doc/posix-headers/*.texi: Likewise. * doc/pastposix-functions/*.texi: Likewise. * doc/glibc-functions/*.texi: Likewise. * doc/glibc-headers/*.texi: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sun, 11 Sep 2011 21:56:17 +0200
parents bb0ceefd22dc
children 1def4f23c989
line wrap: on
line source

@node strdup
@section @code{strdup}
@findex strdup

POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strdup.html}

Gnulib module: strdup or strdup-posix

Portability problems fixed by either Gnulib module @code{strdup} or @code{strdup-posix}:
@itemize
@item
This function is missing on some old platforms.
@item
This function has no prototype in @code{<string.h>} on some old platforms.
@end itemize

Portability problems fixed by Gnulib module @code{strdup-posix}:
@itemize
@item
Upon failure, the function does not set @code{errno} to @code{ENOMEM} on
some platforms:
mingw, MSVC 9.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize