Symbol: nfile
bin/ksh/history.c
951
char nfile[1024];
bin/ksh/history.c
965
(void) shf_snprintf(nfile, sizeof(nfile), "%s.%d", hname, procpid);
bin/ksh/history.c
966
if ((fd = creat(nfile, 0600)) < 0)
bin/ksh/history.c
971
unlink(nfile);
bin/ksh/history.c
976
unlink(nfile);
bin/ksh/history.c
989
if (rename(nfile, hname) < 0)
bin/sh/eval.c
561
for (rn = n->nredir.redirect; rn; rn = rn->nfile.next)
bin/sh/eval.c
602
for (redir = n ; redir ; redir = redir->nfile.next) {
bin/sh/eval.c
612
expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR);
bin/sh/eval.c
613
redir->nfile.expfname = fn.list->text;
bin/sh/eval.c
650
for (rn = n->nredir.redirect; rn != NULL; rn = rn->nfile.next)
bin/sh/eval.c
992
for (rn = cmd->ncmd.redirect; rn; rn = rn->nfile.next)
bin/sh/jobs.c
2062
if (n->nfile.fd != i)
bin/sh/jobs.c
2063
cmdputi(n->nfile.fd);
bin/sh/jobs.c
2071
(void) cmdtxt(n->nfile.fname, 0);
bin/sh/parser.c
1593
np = stalloc(sizeof(struct nfile));
bin/sh/parser.c
1596
np->nfile.fd = fd; /* do this again later with updated fd */
bin/sh/parser.c
1597
if (fd != np->nfile.fd)
bin/sh/parser.c
1628
if (sizeof (struct nfile) != sizeof (struct nhere))
bin/sh/parser.c
1661
np->nfile.fd = fd;
bin/sh/parser.c
360
rpp = &n2->nfile.next;
bin/sh/parser.c
589
rpp = &n2->nfile.next;
bin/sh/parser.c
666
rpp = &n->nfile.next;
bin/sh/parser.c
814
n->nfile.fname = makeword(startlinno - elided_nl);
bin/sh/redir.c
1213
if ((redir_sym[n->type - MIN_REDIR][0] == '<' && n->nfile.fd != 0) ||
bin/sh/redir.c
1214
(redir_sym[n->type - MIN_REDIR][0] == '>' && n->nfile.fd != 1))
bin/sh/redir.c
1215
outfmt(out, "%d", n->nfile.fd);
bin/sh/redir.c
1234
outstr(n->nfile.expfname, out);
bin/sh/redir.c
279
for (n = redir ; n ; n = n->nfile.next) {
bin/sh/redir.c
282
fd = n->nfile.fd;
bin/sh/redir.c
287
if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) &&
bin/sh/redir.c
374
int fd = redir->nfile.fd;
bin/sh/redir.c
387
switch (redir->nfile.type) {
bin/sh/redir.c
389
fname = redir->nfile.expfname;
bin/sh/redir.c
403
fname = redir->nfile.expfname;
bin/sh/redir.c
410
fname = redir->nfile.expfname;
bin/sh/redir.c
431
fname = redir->nfile.expfname;
bin/sh/redir.c
437
fname = redir->nfile.expfname;
bin/sh/redir.c
457
"<>"[redir->nfile.type==NTOFD], redir->ndup.dupfd));
bin/sh/redir.c
461
"<>"[redir->nfile.type==NTOFD]));
bin/sh/show.c
578
for ( ; np ; np = np->nfile.next) {
bin/sh/show.c
581
switch (np->nfile.type) {
bin/sh/show.c
593
if (np->nfile.fd != dftfd) {
bin/sh/show.c
594
sprintf(buf, "%d", np->nfile.fd);
bin/sh/show.c
598
if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) {
bin/sh/show.c
610
if (np->nfile.type == NHERE || np->nfile.type == NXHERE) {
bin/sh/show.c
611
if (np->nfile.type == NHERE)
bin/sh/show.c
624
sharg(np->nfile.fname, fp);
usr.bin/gzip/gzip.c
2189
print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize)
usr.bin/gzip/gzip.c
2195
if (nfile)
usr.bin/gzip/gzip.c
2196
fprintf(stderr, " -- replaced with %s", nfile);
usr.sbin/lpr/common_source/displayq.c
389
show(const char *nfile, const char *file, int copies)
usr.sbin/lpr/common_source/displayq.c
391
if (strcmp(nfile, " ") == 0)
usr.sbin/lpr/common_source/displayq.c
392
nfile = "(standard input)";
usr.sbin/lpr/common_source/displayq.c
394
ldump(nfile, file, copies);
usr.sbin/lpr/common_source/displayq.c
396
dump(nfile, file, copies);
usr.sbin/lpr/common_source/displayq.c
413
dump(const char *nfile, const char *file, int copies)
usr.sbin/lpr/common_source/displayq.c
423
if (((n = strlen(nfile)) + col + fill) >= SIZCOL-4) {
usr.sbin/lpr/common_source/displayq.c
433
printf("%s", nfile);
usr.sbin/lpr/common_source/displayq.c
446
ldump(const char *nfile, const char *file, int copies)
usr.sbin/lpr/common_source/displayq.c
452
printf("%-2d copies of %-19s", copies, nfile);
usr.sbin/lpr/common_source/displayq.c
454
printf("%-32s", nfile);
usr.sbin/lpr/lpr/lpr.c
113
static int nfile(char *);
usr.sbin/lpr/lpr/lpr.c
304
tfd = nfile(tfname);
usr.sbin/lpr/lpr/lpr.c
441
fd = nfile(dfname);
usr.sbin/pstat/pstat.c
900
int len, maxfile, nfile, ovflw;
usr.sbin/pstat/pstat.c
904
KGET(FNL_NFILE, nfile);
usr.sbin/pstat/pstat.c
905
(void)printf("%3d/%3d files\n", nfile, maxfile);
usr.sbin/pstat/pstat.c
914
nfile = len / sizeof(struct kinfo_file);
usr.sbin/pstat/pstat.c
916
(void)printf("%d/%d open files\n", nfile, maxfile);
usr.sbin/pstat/pstat.c
920
for (ki = (struct kinfo_file *)offset; nfile--; ki++) {