| /src/games/warp/ |
| intrp.h | 16 EXT char *hostname; /* host name */ variable
|
| intrp.h | 16 EXT char *hostname; /* host name */ variable
|
| intrp.h | 16 EXT char *hostname; /* host name */ variable
|
| intrp.h | 16 EXT char *hostname; /* host name */ variable
|
| /src/usr.sbin/ypserv/common/ |
| localhostname.c | 52 char hostname[MAXHOSTNAMELEN + 1]; local 55 if (gethostname(hostname, sizeof(hostname))) 57 hostname[sizeof(hostname) - 1] = '\0'; 62 * If hostname appears to be fully-qualified, 65 if (strchr(hostname, '.')) { 66 strlcpy(buf, hostname, buflen); 77 error = getaddrinfo(hostname, NULL, &hints, &res); 79 errx(1, "getaddrinfo(%s) failed: %s", hostname, [all...] |
| localhostname.c | 52 char hostname[MAXHOSTNAMELEN + 1]; local 55 if (gethostname(hostname, sizeof(hostname))) 57 hostname[sizeof(hostname) - 1] = '\0'; 62 * If hostname appears to be fully-qualified, 65 if (strchr(hostname, '.')) { 66 strlcpy(buf, hostname, buflen); 77 error = getaddrinfo(hostname, NULL, &hints, &res); 79 errx(1, "getaddrinfo(%s) failed: %s", hostname, [all...] |
| localhostname.c | 52 char hostname[MAXHOSTNAMELEN + 1]; local 55 if (gethostname(hostname, sizeof(hostname))) 57 hostname[sizeof(hostname) - 1] = '\0'; 62 * If hostname appears to be fully-qualified, 65 if (strchr(hostname, '.')) { 66 strlcpy(buf, hostname, buflen); 77 error = getaddrinfo(hostname, NULL, &hints, &res); 79 errx(1, "getaddrinfo(%s) failed: %s", hostname, [all...] |
| localhostname.c | 52 char hostname[MAXHOSTNAMELEN + 1]; local 55 if (gethostname(hostname, sizeof(hostname))) 57 hostname[sizeof(hostname) - 1] = '\0'; 62 * If hostname appears to be fully-qualified, 65 if (strchr(hostname, '.')) { 66 strlcpy(buf, hostname, buflen); 77 error = getaddrinfo(hostname, NULL, &hints, &res); 79 errx(1, "getaddrinfo(%s) failed: %s", hostname, [all...] |
| /src/external/bsd/ipf/dist/lib/ |
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.3 2012/10/22 01:21:57 christos Exp $ */ 8 * Id: hostname.c,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $ 14 hostname(int family, const void *ip) function
|
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.3 2012/10/22 01:21:57 christos Exp $ */ 8 * Id: hostname.c,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $ 14 hostname(int family, const void *ip) function
|
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.3 2012/10/22 01:21:57 christos Exp $ */ 8 * Id: hostname.c,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $ 14 hostname(int family, const void *ip) function
|
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.3 2012/10/22 01:21:57 christos Exp $ */ 8 * Id: hostname.c,v 1.1.1.2 2012/07/22 13:44:38 darrenr Exp $ 14 hostname(int family, const void *ip) function
|
| /src/external/bsd/ntp/dist/sntp/ |
| kod_management.h | 9 char hostname[255]; member in struct:kod_entry 14 int search_entry(const char *hostname, struct kod_entry **dst); 15 void add_entry(const char *hostname, const char *type); 16 void delete_entry(const char *hostname, const char *type);
|
| kod_management.h | 9 char hostname[255]; member in struct:kod_entry 14 int search_entry(const char *hostname, struct kod_entry **dst); 15 void add_entry(const char *hostname, const char *type); 16 void delete_entry(const char *hostname, const char *type);
|
| kod_management.h | 9 char hostname[255]; member in struct:kod_entry 14 int search_entry(const char *hostname, struct kod_entry **dst); 15 void add_entry(const char *hostname, const char *type); 16 void delete_entry(const char *hostname, const char *type);
|
| kod_management.h | 9 char hostname[255]; member in struct:kod_entry 14 int search_entry(const char *hostname, struct kod_entry **dst); 15 void add_entry(const char *hostname, const char *type); 16 void delete_entry(const char *hostname, const char *type);
|
| /src/bin/hostname/ |
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.21 2014/02/13 12:00:29 elric Exp $ */ 40 static char sccsid[] = "@(#)hostname.c 8.2 (Berkeley) 4/28/95"; 42 __RCSID("$NetBSD: hostname.c,v 1.21 2014/02/13 12:00:29 elric Exp $"); 60 char *p, hostname[MAXHOSTNAMELEN + 1]; local 83 if (gethostname(hostname, sizeof(hostname))) 85 hostname[sizeof(hostname) - 1] = '\0'; 86 if (sflag && (p = strchr(hostname, '.'))) 88 (void)printf("%s\n", hostname); [all...] |
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.21 2014/02/13 12:00:29 elric Exp $ */ 40 static char sccsid[] = "@(#)hostname.c 8.2 (Berkeley) 4/28/95"; 42 __RCSID("$NetBSD: hostname.c,v 1.21 2014/02/13 12:00:29 elric Exp $"); 60 char *p, hostname[MAXHOSTNAMELEN + 1]; local 83 if (gethostname(hostname, sizeof(hostname))) 85 hostname[sizeof(hostname) - 1] = '\0'; 86 if (sflag && (p = strchr(hostname, '.'))) 88 (void)printf("%s\n", hostname); [all...] |
| hostname.c | 1 /* $NetBSD: hostname.c,v 1.21 2014/02/13 12:00:29 elric Exp $ */ 40 static char sccsid[] = "@(#)hostname.c 8.2 (Berkeley) 4/28/95"; 42 __RCSID("$NetBSD: hostname.c,v 1.21 2014/02/13 12:00:29 elric Exp $"); 60 char *p, hostname[MAXHOSTNAMELEN + 1]; local 83 if (gethostname(hostname, sizeof(hostname))) 85 hostname[sizeof(hostname) - 1] = '\0'; 86 if (sflag && (p = strchr(hostname, '.'))) 88 (void)printf("%s\n", hostname); [all...] |
| /src/external/bsd/ntp/dist/libntp/ |
| findconfig.c | 22 char hostname[BUFSIZ], *cp; local 31 /* First choice is my hostname */ 32 if (gethostname(hostname, BUFSIZ) >= 0) { 33 snprintf(result, sizeof(result), "%s/%s", base, hostname);
|
| findconfig.c | 22 char hostname[BUFSIZ], *cp; local 31 /* First choice is my hostname */ 32 if (gethostname(hostname, BUFSIZ) >= 0) { 33 snprintf(result, sizeof(result), "%s/%s", base, hostname);
|
| /src/external/bsd/openpam/dist/lib/libpam/ |
| pam_start.c | 68 char *hostname = NULL; local 86 if ((hostname = malloc(hostname_size)) == NULL) 88 if (gethostname(hostname, hostname_size) != 0) 89 strlcpy(hostname, "localhost", hostname_size); 90 if ((r = pam_set_item(ph, PAM_HOST, hostname)) != PAM_SUCCESS) 98 free(hostname); 103 free(hostname);
|
| pam_start.c | 68 char *hostname = NULL; local 86 if ((hostname = malloc(hostname_size)) == NULL) 88 if (gethostname(hostname, hostname_size) != 0) 89 strlcpy(hostname, "localhost", hostname_size); 90 if ((r = pam_set_item(ph, PAM_HOST, hostname)) != PAM_SUCCESS) 98 free(hostname); 103 free(hostname);
|
| /src/external/gpl2/xcvs/dist/lib/ |
| xgethostname.c | 1 /* xgethostname.c -- return current hostname with unlimited length 49 /* Return the current hostname in malloc'd storage. 55 char *hostname = NULL; local 61 SunOS 5.5's gethostname whereby it NUL-terminates HOSTNAME 65 hostname = x2realloc (hostname, &size); 67 hostname[size_1 - 1] = '\0'; 70 if (gethostname (hostname, size_1) == 0) 72 if (! hostname[size_1 - 1]) 80 free (hostname); [all...] |
| xgethostname.c | 1 /* xgethostname.c -- return current hostname with unlimited length 49 /* Return the current hostname in malloc'd storage. 55 char *hostname = NULL; local 61 SunOS 5.5's gethostname whereby it NUL-terminates HOSTNAME 65 hostname = x2realloc (hostname, &size); 67 hostname[size_1 - 1] = '\0'; 70 if (gethostname (hostname, size_1) == 0) 72 if (! hostname[size_1 - 1]) 80 free (hostname); [all...] |