Lines Matching defs:strdup
662 # undef strdup
663 # define strdup rpl_strdup
665 _GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1)));
666 _GL_CXXALIAS_RPL (strdup, char *, (char const *__s));
668 # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup
669 /* strdup exists as a function and as a macro. Get rid of the macro. */
670 # undef strdup
672 # if !(1 || defined strdup)
673 _GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1)));
675 _GL_CXXALIAS_SYS (strdup, char *, (char const *__s));
677 _GL_CXXALIASWARN (strdup);
679 # undef strdup
681 _GL_WARN_ON_USE (strdup, "strdup is unportable - "
682 "use gnulib module strdup for portability");