HomeSort by: relevance | last modified time | path
    Searched refs:hname (Results 1 - 20 of 20) sorted by relevancy

  /src/usr.bin/msgc/
msgdb.c 99 char hname[1024]; local in function:write_msg_file
110 snprintf (hname, 1024, "%s.h", out_name);
111 nlen = strlen(hname);
112 if (hname[nlen-2] != '.' || hname[nlen-1] != 'h') {
132 out_file = fopen (hname, "w");
135 prog_name, hname);
225 (void)fprintf (out_file, "#include \"%s\"\n", hname);
  /src/usr.sbin/rdate/
rdate.c 78 char *hname; local in function:main
117 hname = argv[optind];
123 error = getaddrinfo(hname, "time", &hints, &res0);
125 errx(1, "%s: %s", gai_strerror(error), hname);
  /src/bin/ksh/
history.c 73 static char *hname; /* current name of history file */ variable in typeref:typename:char *
569 if (hname && strcmp(hname, name) == 0)
576 if (hname) {
577 afree(hname, APERM);
578 hname = NULL;
586 afree(hname, APERM);
587 hname = NULL;
685 hname = NULL;
694 hname = alloc(len = strlen(home) + strlen(f) + 2, APERM)
    [all...]
  /src/usr.bin/menuc/
mdb.c 113 char hname[1024], cname[1024], sname[1024]; local in function:write_menu_file
119 snprintf(hname, 1024, "%s.h", out_name);
120 nlen = strlen(hname);
121 if (hname[nlen-2] != '.' || hname[nlen-1] != 'h') {
141 out_file = fopen(hname, "w");
144 prog_name, hname);
277 fprintf(out_file, "#include \"%s\"\n\n", hname);
  /src/usr.sbin/timed/timed/
measure.c 72 const char *hname,
283 inet_ntoa(addr->sin_addr), hname);
287 fprintf(stderr, "measure %s: %s\n", hname,
291 syslog(LOG_ERR, "measure %s: %m", hname);
293 syslog(LOG_ERR, "measure: %s did not respond", hname);
298 hname, trials);
  /src/distrib/alpha/instkernel/ramdisk/
install.sh 386 elif [ "$hname" = "" ]; then
387 hname=$part_name
467 if [ "$hname" != "" ]; then
469 echo "Initializing $hname filesystem, and mounting..."
471 $DONTDOIT mkdir -p /mnt/$hname
472 $DONTDOIT mount -v $ASYNC /dev/${drivename}h /mnt/$hname
496 if [ "$hname" != "" ]; then
497 echo /dev/${drivename}h /$hname ffs rw 1 5 | sed -e s,//,/, >> $FSTAB
  /src/usr.bin/login/
common.c 172 const char *hname; local in function:update_db
175 hname = (hostname == NULL) ? "?" : hostname;
206 " %s", username, tty, hname, assbuf);
213 "%s", nested, pwd->pw_name, tty, hname, assbuf);
220 pwd->pw_name, tty, hname, assbuf);
  /src/games/hack/
hack.main.c 92 char *hname; /* name of the game (argv[0] of call) */ variable in typeref:typename:char *
113 hname = argv[0];
193 gethdate(hname);
hack.h 191 extern char *hname;
hack.end.c 774 printf("Call is: %s -s [playernames]\n", hname);
  /src/usr.sbin/lpr/common_source/
common.c 120 gethost(const char *hname)
122 const char *p = strchr(hname, '@');
123 return p ? ++p : hname;
  /src/games/warp/
intrp.c 73 char hname[128]; local in function:intrp_init
75 strcpy(hname,hostname);
76 strcat(hname,MYDOMAIN);
77 hostname=savestr(hname);
  /src/usr.bin/ftp/
util.c 1363 char hname[NI_MAXHOST]; local in function:ftp_connect
1368 hname, sizeof(hname), sname, sizeof(sname),
1370 strlcpy(hname, "?", sizeof(hname));
1400 "save", hname, sname);
1406 hname, sname);
1425 warn("Can't connect to `%s:%s'", hname, sname);
1472 "restore", hname, sname);
fetch.c 654 char hname[NI_MAXHOST], sname[NI_MAXSERV]; local in function:ftp_socket
658 hname, sizeof(hname), sname, sizeof(sname),
660 strlcpy(hname, "?", sizeof(hname));
668 hname, sname);
672 hname, sname);
682 "`%s:%s'", hname, sname);
951 char hname[NI_MAXHOST], *p; local in function:print_connect
960 snprintf(hname, sizeof(hname), "[%s]", ui->host)
    [all...]
ftp.c 193 char hname[NI_MAXHOST], sname[NI_MAXSERV]; local in function:hookup
197 hname, sizeof(hname), sname, sizeof(sname),
199 strlcpy(hname, "?", sizeof(hname));
206 fprintf(ttyout, "Trying [%s]:%s ...\n", hname,
210 fprintf(ttyout, "Trying %s:%s ...\n", hname,
219 hname, sname);
1587 char hname[NI_MAXHOST], sname[NI_MAXSERV]; local in function:initconn
1611 tmp.su_len, hname, sizeof(hname), sname
    [all...]
  /src/sbin/routed/rtquery/
rtquery.c 836 char hname[MAXHOSTNAMELEN+1]; local in function:getnet
844 if (i > (int)sizeof(hname)-1) /* name too long */
846 memmove(hname, name, i);
847 hname[i] = '\0';
849 name = hname;
  /src/usr.sbin/traceroute/
traceroute.c 1645 gethostinfo(char *hname)
1657 if (inet_aton(hname, &addr) != 0) {
1658 hi->name = strdup(hname);
1669 hp = gethostbyname(hname);
1671 errx(1, "unknown host %s", hname);
1673 errx(1, "bad host %s", hname);
1700 getaddr(u_int32_t *ap, char *hname)
1704 hi = gethostinfo(hname);
  /src/sbin/routed/
parms.c 964 char hname[MAXHOSTNAMELEN+1]; local in function:getnet
972 if (i > (int)sizeof(hname)-1) /* name too long */
974 memmove(hname, name, i);
975 hname[i] = '\0';
977 name = hname;
  /src/share/examples/refuse/ian/libfetch/
ftp.c 792 char hname[INET6_ADDRSTRLEN]; local in function:_ftp_transfer
839 hname, sizeof(hname),
841 e = _ftp_cmd(conn, "EPRT |%d|%s|%d|", 2, hname,
  /src/usr.sbin/syslogd/
syslogd.c 1121 printline_syslogprotocol(const char *hname, char *msg,
1130 "\"%s\", \"%s\", %d, %d)\n", hname, msg, flags, pri);
1273 buffer->recvhost = strdup(hname);
1338 printline_bsdsyslog(const char *hname, char *msg,
1346 "\"%s\", \"%s\", %d, %d)\n", hname, msg, flags, pri);
1372 buffer->host = strdup(hname);
1495 buffer->recvhost = strdup(hname);
1503 printline_kernelprintf(const char *hname, char *msg,
1511 "\"%s\", \"%s\", %d, %d)\n", hname, msg, flags, pri);
1551 printline(const char *hname, char *msg, int flags
    [all...]

Completed in 29 milliseconds