Home
last modified time | relevance | path

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

1234567

/openbsd/src/lib/libc/gen/
Dgethostname.c36 gethostname(char *name, size_t namelen) in gethostname() function
46 DEF_WEAK(gethostname);
DMakefile.inc13 getdomainname.c getgrent.c getgrouplist.c gethostname.c \
42 getfsent.3 getgrent.3 getgrouplist.3 gethostname.3 getloadavg.3 \
/openbsd/src/gnu/usr.bin/cvs/lib/
Dhostname.c32 gethostname(name, namelen) in gethostname() function
/openbsd/src/bin/hostname/
Dhostname.c69 if (gethostname(hostname, sizeof(hostname))) in main()
/openbsd/src/gnu/usr.bin/cvs/windows-NT/
Dwin32.c77 int gethostname(char* name, int namelen)
/openbsd/src/usr.sbin/lpr/lpq/
Dlpq.c82 if (gethostname(host, sizeof(host)) != 0) in main()
/openbsd/src/usr.bin/talk/
Dget_names.c88 gethostname(hostname, sizeof (hostname)); in get_names()
/openbsd/src/usr.sbin/lpr/lprm/
Dlprm.c98 gethostname(host, sizeof(host)); in main()
/openbsd/src/gnu/usr.bin/cvs/vms/
Drcmd.c37 gethostname(local_hostname, 80); in rcmd()
/openbsd/src/libexec/talkd/
Dtalkd.c70 if (gethostname(hostname, sizeof(hostname)) == -1) { in main()
/openbsd/src/usr.bin/rwall/
Drwall.c121 (void)gethostname(hostname, sizeof(hostname)); in makemsg()
/openbsd/src/usr.bin/ssh/
Dcanohost.c112 if (gethostname(myname, sizeof(myname)) == -1) { in get_local_name()
/openbsd/src/usr.bin/cvs/
Dedit.c283 if (gethostname(thishost, sizeof(thishost)) == -1) in cvs_edit_local()
367 if (gethostname(thishost, sizeof(thishost)) == -1) in cvs_unedit_local()
/openbsd/src/usr.sbin/lpd/
Dengine.c50 gethostname(lpd_hostname, HOST_NAME_MAX + 1); in engine()
/openbsd/src/usr.sbin/amd/amd/
Damd.c216 if (gethostname(hostname, sizeof(hostname)) == -1) { in main()
/openbsd/src/gnu/llvm/lldb/source/Host/posix/
DHostInfoPosix.cpp35 if (::gethostname(hostname, sizeof(hostname) - 1) == 0) { in GetHostname()
/openbsd/src/usr.bin/skeyaudit/
Dskeyaudit.c173 if (hostname[0] == '\0' && gethostname(hostname, sizeof(hostname)) == -1) in notify()
/openbsd/src/usr.bin/lock/
Dlock.c131 gethostname(hostname, sizeof(hostname)); in main()
/openbsd/src/lib/libc/hidden/
Dunistd.h79 PROTO_NORMAL(gethostname);
/openbsd/src/usr.sbin/rbootd/
Drbootd.c156 gethostname(MyHost, HOST_NAME_MAX+1); in main()
/openbsd/src/usr.sbin/rpki-client/
Doutput-json.c38 gethostname(hn, sizeof hn); in outputheader_json()
Doutput.c254 gethostname(hn, sizeof hn); in outputheader()
/openbsd/src/usr.sbin/smtpd/
Dmail.maildir.c170 if (gethostname(hostname, sizeof hostname) != 0) in maildir_engine()
/openbsd/src/gnu/usr.bin/perl/win32/include/sys/
Dsocket.h135 #define gethostname win32_gethostname macro
/openbsd/src/usr.bin/write/
Dwrite.c264 if (gethostname(host, sizeof(host)) == -1) in do_write()

1234567