Lines Matching defs:gethostname
26 are completely included before we replace gethostname. */
46 /* Get all possible declarations of gethostname(). */
103 NonStop Kernel declares gethostname in <netdb.h>, not in <unistd.h>. */
1030 # undef gethostname
1031 # define gethostname rpl_gethostname
1033 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len)
1035 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len));
1038 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len)
1044 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len));
1046 _GL_CXXALIASWARN (gethostname);
1048 # undef gethostname
1049 # define gethostname gethostname_used_without_requesting_gnulib_module_gethostname
1051 # undef gethostname
1053 _GL_WARN_ON_USE (gethostname, "gethostname is unportable - "
1054 "use gnulib module gethostname for portability");