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

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

Completed in 202 milliseconds