Home
last modified time | relevance | path

Searched refs:gethostname (Results 1 – 25 of 129) sorted by relevance

123456

/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Duname.c72 __STDPP__directive pragma pp:hide getdomainname gethostid gethostname sethostname
76 #define gethostname ______gethostname
95 __STDPP__directive pragma pp:nohide getdomainname gethostid gethostname sethostname
99 #undef gethostname
110 extern int gethostname(char*, size_t);
169 if (gethostname(ut->nodename, sizeof(ut->nodename) - 1)) in uname()
387 if (sizeof(ut.nodename) > 9 || gethostname(s, sizeof(buf))) in b_uname()
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dinitparse.c16 gethostname(thishost, sizeof(thishost)); in initparse()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c57 extern int gethostname(char *, int);
177 if (gethostname(machname, MAX_MACHINE_NAME) == -1) { in authsys_create_default()
213 if (gethostname(machname, MAX_MACHINE_NAME) == -1) { in authsys_create_ruid()
H A Dgethostname.c47 gethostname(char *hname, int hlen) function
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgethostname.c42 gethostname(char *name, int namelen) in gethostname() function
/illumos-gate/usr/src/stand/lib/sa/
H A Dunistd.h52 extern int gethostname(char *, int);
H A Dunistd.c42 gethostname(char *name, int namelen) in gethostname() function
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_localhost.c50 if (gethostname(buf, sizeof(buf)) < 0) in g_local_host_name()
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dsys_info.c45 if (gethostname(host, sizeof (host)) == -1) { in sys_get_hostname()
/illumos-gate/usr/src/ucblib/libucb/port/sys/
H A Dgethostname.c51 gethostname(char *name, int namelen) in gethostname() function
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/features/
H A Dutsname1 lib getdomainname,gethostid,gethostname,sethostname,syscall,systeminfo,uname
/illumos-gate/usr/src/lib/libresolv2/include/
H A Dsunw_port_after.h61 extern int gethostname(char *, size_t);
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyppoll.c94 extern int gethostname();
239 if (! gethostname(default_host_name, 256)) { in getlochost()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h74 #define gethostname(name, len) \ macro
/illumos-gate/usr/src/cmd/hostname/
H A Dhostname.c93 if (gethostname(c_hostname, sizeof (c_hostname)) < 0) { in main()
/illumos-gate/usr/src/cmd/bnu/
H A Duucpname.c62 gethostname(NameBuf, MAXBASENAME);
/illumos-gate/usr/src/cmd/ast/libcmd/amd64/FEATURE/
H A Dutsname7 #define _lib_gethostname 1 /* gethostname() in default lib(s) */
/illumos-gate/usr/src/cmd/ast/libcmd/i386/FEATURE/
H A Dutsname7 #define _lib_gethostname 1 /* gethostname() in default lib(s) */
/illumos-gate/usr/src/cmd/ast/libcmd/sparc/FEATURE/
H A Dutsname7 #define _lib_gethostname 1 /* gethostname() in default lib(s) */
/illumos-gate/usr/src/cmd/ast/libcmd/sparcv9/FEATURE/
H A Dutsname7 #define _lib_gethostname 1 /* gethostname() in default lib(s) */
/illumos-gate/usr/src/cmd/keyserv/
H A Dnewkey.c156 if (gethostname(host_pname, NIS_MAXNAMELEN) in main()
269 if (gethostname(hostname, MAXHOSTNAMELEN) < 0) {
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPGetRefreshInterval.c65 (void) gethostname(hostname, MAXHOSTNAMELEN); in SLPGetRefreshInterval()
/illumos-gate/usr/src/cmd/fs.d/nfs/dfshares/
H A Ddfshares.c85 if (gethostname(hostbuf, sizeof (hostbuf)) < 0) { in main()
/illumos-gate/usr/src/cmd/dlutil/
H A Ddlsend.c109 if (gethostname(host, sizeof (host)) != 0) { in main()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c125 (void) gethostname(myhostname, sizeof (myhostname)); in main()

123456