Home | History | Annotate | Download | only in import

Lines Matching refs:strndup

577 #   undef strndup
578 # define strndup rpl_strndup
580 _GL_FUNCDECL_RPL (strndup, char *,
584 _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n));
586 # if !@HAVE_DECL_STRNDUP@ || (__GNUC__ >= 11 && !defined strndup)
587 _GL_FUNCDECL_SYS (strndup, char *,
592 _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n));
594 _GL_CXXALIASWARN (strndup);
596 # if __GNUC__ >= 11 && !defined strndup
597 /* For -Wmismatched-dealloc: Associate strndup with free or rpl_free. */
598 _GL_FUNCDECL_SYS (strndup, char *,
604 # undef strndup
606 _GL_WARN_ON_USE (strndup, "strndup is unportable - "
607 "use gnulib module strndup for portability");