Lines Matching defs:strdup
350 # undef strdup
351 # define strdup rpl_strdup
353 _GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1)));
354 _GL_CXXALIAS_RPL (strdup, char *, (char const *__s));
356 # if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup
357 /* strdup exists as a function and as a macro. Get rid of the macro. */
358 # undef strdup
360 # if !(@HAVE_DECL_STRDUP@ || defined strdup)
361 _GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1)));
363 _GL_CXXALIAS_SYS (strdup, char *, (char const *__s));
365 _GL_CXXALIASWARN (strdup);
367 # undef strdup
369 _GL_WARN_ON_USE (strdup, "strdup is unportable - "
370 "use gnulib module strdup for portability");