HomeSort by: relevance | last modified time | path
    Searched defs:hname (Results 1 - 13 of 13) 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/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);
  /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/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/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/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/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/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/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/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);
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...]
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...]

Completed in 24 milliseconds