mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-10 04:43:00 +03:00
28 lines
666 B
Plaintext
28 lines
666 B
Plaintext
@node strdup
|
|
@section @code{strdup}
|
|
@findex strdup
|
|
|
|
POSIX specification: @url{http://www.opengroup.org/susv3xsh/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.
|
|
@end itemize
|
|
|
|
Portability problems not fixed by Gnulib:
|
|
@itemize
|
|
@end itemize
|