Home | History | Annotate | Download | only in lib

Lines Matching refs:gethostname

25      are completely included before we replace gethostname.  */
45 /* Get all possible declarations of gethostname(). */
102 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */
718 # undef gethostname
719 # define gethostname rpl_gethostname
721 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len)
723 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len));
726 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len)
732 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len));
734 _GL_CXXALIASWARN (gethostname);
736 # undef gethostname
737 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname
739 # undef gethostname
741 _GL_WARN_ON_USE (gethostname, "gethostname is unportable - "
742 "use gnulib module gethostname for portability");