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

12

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_localhost.c50 if (gethostname(buf, sizeof(buf)) < 0)
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dsys_info.c45 if (gethostname(host, sizeof (host)) == -1) {
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgethostname.c41 gethostname(char *name, size_t namelen) function
/osnet-11/usr/src/lib/libresolv2/include/
H A Dsunw_port_after.h58 * Prior to 2.6, Solaris needs a prototype for gethostname().
61 extern int gethostname(char *, size_t);
H A Dport_after.h519 int gethostname(char *, int);
/osnet-11/usr/src/lib/libcmd/common/
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)))
/osnet-11/usr/src/lib/libslp/clib/
H A DSLPGetRefreshInterval.c65 (void) gethostname(hostname, MAXHOSTNAMELEN);
H A DSLPUtils.c323 (void) gethostname(hostname, MAXHOSTNAMELEN);
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dunistd.in.h25 are completely included before we replace gethostname. */
45 /* Get all possible declarations of gethostname(). */
108 /* Get all possible declarations of gethostname(). */
624 # undef gethostname
625 # define gethostname rpl_gethostname
627 _GL_FUNCDECL_RPL (gethostname, int, (char *name, size_t len)
629 _GL_CXXALIAS_RPL (gethostname, int, (char *name, size_t len));
632 _GL_FUNCDECL_SYS (gethostname, int, (char *name, size_t len)
637 _GL_CXXALIAS_SYS_CAST (gethostname, int, (char *name, size_t len));
639 _GL_CXXALIASWARN (gethostname);
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsn2princ.c122 if (gethostname(localname, MAXHOSTNAMELEN)) {
H A Dhst_realm.c123 Might return an error if gethostname fails. */
128 if (gethostname (buf, bufsiz) == -1)
/osnet-11/usr/src/cmd/sendmail/libmilter/
H A Dexample.c67 if (gethostname(host, sizeof host) < 0)
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c176 if (gethostname(machname, MAX_MACHINE_NAME) == -1) {
212 if (gethostname(machname, MAX_MACHINE_NAME) == -1) {
214 "authsys_create_ruid:gethostname failed");
/osnet-11/usr/src/lib/libresolv/
H A Dres_init.c71 * INADDR_LOOPBACK and the default domain name comes from the gethostname().
274 if (gethostname(buf, sizeof (_res.defdname)) == 0 &&
/osnet-11/usr/src/lib/pam_modules/dhkeys/
H A Dkey_call_uid.c57 if (gethostname(host, sizeof (host) - 1) == -1) {
/osnet-11/usr/src/lib/pam_modules/list/
H A Dlist.c217 if (gethostname(hostname, MAXHOSTNAMELEN) == 0) {
221 "pam_list: error by gethostname - %m");
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_ia_open.c526 rc = gethostname(hostname, NAMELEN);
/osnet-11/usr/src/lib/libast/common/comp/
H A Dsyslog.c327 if (!*log.host && gethostname(log.host, sizeof(log.host)-1))
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_util.c105 if (gethostname(buf, sizeof (buf)) != 0)
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_solaris.c148 * gethostname(3C). If AD environments construct salts differently in the
181 if (gethostname(localname, MAXHOSTNAMELEN) != 0) {
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A DXSUB.h495 # define gethostname PerlSock_gethostname macro
/osnet-11/usr/src/lib/passwdutil/
H A Dnis_attr.c89 if (gethostname(thishost, sizeof (thishost)) == -1) {
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_info.c205 * to be null-terminated (gethostname may not null terminate the name).
210 * If gethostname fails, the returned buffer will contain an empty
221 if (gethostname(buf, buflen) != 0) {
/osnet-11/usr/src/lib/libsocket/inet/
H A Drcmd.c801 if (gethostname(ldomain, MAXHOSTNAMELEN) == -1) {
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c637 if (gethostname(localhost, LINE_LEN) != 0) {

Completed in 56 milliseconds

12