Searched refs:gethostname (Results 1 - 25 of 195) sorted by relevance

12345678

/macosx-10.10/curl-83.1.2/curl/tests/libtest/
H A Dsethostname.c30 int gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen) function
H A Dsethostname.h44 gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen);
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dcurl_gethostname.c28 * Curl_gethostname() is a wrapper around gethostname() which allows
43 * mechanism which intercepts, and might override, the gethostname()
74 err = gethostname(name, namelen);
79 /* The call to system's gethostname() might get intercepted by the
83 err = gethostname(name, namelen);
/macosx-10.10/Heimdal-398.1.2/lib/roken/
H A Dgethostname.c47 * interface is identical to gethostname(2).)
51 gethostname(char *name, int namelen) function
/macosx-10.10/postfix-255/postfix/src/util/
H A Dget_hostname.c12 /* via gethostname() or its moral equivalent. This routine
60 * The gethostname() call is not (or not yet) in ANSI or POSIX, but it is
74 if (gethostname(namebuf, sizeof(namebuf)) < 0)
75 msg_fatal("gethostname: %m");
/macosx-10.10/bind9-45.101/bind9/contrib/nslint-2.1a3/lbl/
H A Dos-solaris2.h30 int gethostname(char *, int);
/macosx-10.10/dcerpc-61/dcerpc/perf/
H A Dperfb.c123 gethostname(name, 256);
152 gethostname(name, 256);
/macosx-10.10/Libc-1044.1.2/gen/FreeBSD/
H A Dgethostname.c31 static char sccsid[] = "@(#)gethostname.c 8.1 (Berkeley) 6/4/93";
34 __FBSDID("$FreeBSD: src/lib/libc/gen/gethostname.c,v 1.8 2007/01/09 00:27:54 imp Exp $");
45 gethostname(name, namelen) function
/macosx-10.10/procmail-14/procmail/src/
H A Dacommon.c26 gethostname(name,MAXHOSTNAMELEN),name[MAXHOSTNAMELEN-1]='\0';
/macosx-10.10/shell_cmds-179/hostname/
H A Dhostname.c87 if (gethostname(hostname, (int)sizeof(hostname)))
88 err(1, "gethostname");
/macosx-10.10/ksh-23/ksh/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))
387 if (sizeof(ut.nodename) > 9 || gethostname(s, sizeof(buf)))
/macosx-10.10/libutil-38/
H A Dtrimdomain.c66 if (gethostname(domain, sizeof(domain) - 1) == 0 &&
/macosx-10.10/ntp-92/libntp/
H A Dfindconfig.c30 if (gethostname(hostname, BUFSIZ) >= 0) {
/macosx-10.10/remote_cmds-47/talk.tproj/
H A Dget_names.c87 gethostname(hostname, sizeof (hostname));
/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DtclUnixSock.c84 * Uname doesn't exist; try gethostname instead.
104 if (gethostname(buffer, sizeof(buffer)) > -1) { /* INTL: Native. */
/macosx-10.10/tcl-105/tcl84/tcl/unix/
H A DtclUnixSock.c111 * Uname doesn't exist; try gethostname instead.
114 if (gethostname(buffer, sizeof(buffer)) > -1) { /* INTL: Native. */
/macosx-10.10/uucp-11/uucp/contrib/
H A Duutraf124 $thishost = &gethostname();
198 sub gethostname {
/macosx-10.10/bash-94.1.2/bash-3.2/lib/sh/
H A Doslib.c194 gethostname (name, namelen) function
211 gethostname (name, namelen) function
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DLockFileManager.cpp56 gethostname(MyHostname, 255);
97 gethostname(hostname, 255);
/macosx-10.10/passwordserver_sasl-193/cyrus_sasl/saslauthd/
H A Dauth_sasldb.c146 ret = gethostname(realm_buf,MAXHOSTNAMELEN);
/macosx-10.10/remote_cmds-47/talkd.tproj/
H A Dtalkd.c101 if (gethostname(hostname, sizeof(hostname) - 1) < 0) {
102 syslog(LOG_ERR, "gethostname: %m");
/macosx-10.10/tcl-105/tcl_ext/tclx/tclx/win/
H A DtclXwinId.c90 if (gethostname (hostName, sizeof (hostName)) < 0) {
/macosx-10.10/libtelnet-13/
H A Dkrb4encpwd.c166 gethostname(hostname, sizeof(hostname));
217 gethostname(lhostname, sizeof(lhostname));
309 gethostname(hostname, sizeof(hostname));
/macosx-10.10/Heimdal-398.1.2/appl/login/
H A Dutmp_login.c54 gethostname (local_hostname, sizeof(local_hostname));
/macosx-10.10/Heimdal-398.1.2/appl/test/
H A Dtcp_server.c64 if(gethostname (hostname, sizeof(hostname)) < 0)
65 krb5_err (context, 1, errno, "gethostname");

Completed in 298 milliseconds

12345678