Home
last modified time | relevance | path

Searched refs:nfile (Results 1 – 18 of 18) sorted by relevance

/netbsd/src/usr.sbin/lpr/common_source/
Ddisplayq.c389 show(const char *nfile, const char *file, int copies) in show() argument
391 if (strcmp(nfile, " ") == 0) in show()
392 nfile = "(standard input)"; in show()
394 ldump(nfile, file, copies); in show()
396 dump(nfile, file, copies); in show()
413 dump(const char *nfile, const char *file, int copies) in dump() argument
423 if (((n = strlen(nfile)) + col + fill) >= SIZCOL-4) { in dump()
433 printf("%s", nfile); in dump()
446 ldump(const char *nfile, const char *file, int copies) in ldump() argument
452 printf("%-2d copies of %-19s", copies, nfile); in ldump()
[all …]
/netbsd/src/bin/sh/
Dredir.c279 for (n = redir ; n ; n = n->nfile.next) { in redirect()
282 fd = n->nfile.fd; in redirect()
287 if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) && in redirect()
374 int fd = redir->nfile.fd; in openredirect()
387 switch (redir->nfile.type) { in openredirect()
389 fname = redir->nfile.expfname; in openredirect()
403 fname = redir->nfile.expfname; in openredirect()
410 fname = redir->nfile.expfname; in openredirect()
431 fname = redir->nfile.expfname; in openredirect()
437 fname = redir->nfile.expfname; in openredirect()
[all …]
Dshow.c578 for ( ; np ; np = np->nfile.next) { in shredir()
581 switch (np->nfile.type) { in shredir()
593 if (np->nfile.fd != dftfd) { in shredir()
594 sprintf(buf, "%d", np->nfile.fd); in shredir()
598 if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) { in shredir()
610 if (np->nfile.type == NHERE || np->nfile.type == NXHERE) { in shredir()
611 if (np->nfile.type == NHERE) in shredir()
624 sharg(np->nfile.fname, fp); in shredir()
Dnodetypes120 NTO nfile # fd> fname
121 NCLOBBER nfile # fd>| fname
122 NFROM nfile # fd< fname
123 NFROMTO nfile # fd<> fname
124 NAPPEND nfile # fd>> fname
Dparser.c360 rpp = &n2->nfile.next; in command()
589 rpp = &n2->nfile.next; in command()
666 rpp = &n->nfile.next; in simplecmd()
814 n->nfile.fname = makeword(startlinno - elided_nl); in parsefname()
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;
Deval.c561 for (rn = n->nredir.redirect; rn; rn = rn->nfile.next) in evalsubshell()
602 for (redir = n ; redir ; redir = redir->nfile.next) { in expredir()
612 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); in expredir()
613 redir->nfile.expfname = fn.list->text; in expredir()
650 for (rn = n->nredir.redirect; rn != NULL; rn = rn->nfile.next) in evalredir()
992 for (rn = cmd->ncmd.redirect; rn; rn = rn->nfile.next) in evalcommand()
Djobs.c2005 if (n->nfile.fd != i) in cmdtxt()
2006 cmdputi(n->nfile.fd); in cmdtxt()
2014 (void) cmdtxt(n->nfile.fname, 0); in cmdtxt()
/netbsd/src/bin/ksh/
Dhistory.c951 char nfile[1024]; local
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)
/netbsd/src/usr.sbin/pstat/
Dpstat.c900 int len, maxfile, nfile, ovflw; in filemode() local
904 KGET(FNL_NFILE, nfile); in filemode()
905 (void)printf("%3d/%3d files\n", nfile, maxfile); in filemode()
914 nfile = len / sizeof(struct kinfo_file); in filemode()
916 (void)printf("%d/%d open files\n", nfile, maxfile); in filemode()
920 for (ki = (struct kinfo_file *)offset; nfile--; ki++) { in filemode()
/netbsd/src/usr.sbin/lpr/lpr/
Dlpr.c113 static int nfile(char *);
304 tfd = nfile(tfname); in main()
441 fd = nfile(dfname); in copy()
535 nfile(char *n) in nfile() function
/netbsd/src/external/bsd/openldap/dist/tests/progs/
Dslapd-tester.c173 char *nfile = NULL; in main() local
395 nfile = get_file_name( dirname, file->d_name ); in main()
425 if ( !sfile && !rfile && !nfile && !mfile && !bfile && !anum ) { in main()
453 if ( nfile ) { in main()
454 nnum = get_read_entries( nfile, nreqs, NULL ); in main()
458 nfile, -2*(nnum + 1) ); in main()
/netbsd/src/sbin/mount_portal/examples/
Drfilter.116 % printf "This is\na test\nfile\n" >/tmp/bziptest
/netbsd/src/share/doc/smm/config/
Dspell.ok217 nfile
/netbsd/src/external/gpl3/binutils/dist/binutils/
Ddebug.c698 struct debug_file *nfile; in debug_set_filename() local
704 nfile = debug_xzalloc (info, sizeof (*nfile)); in debug_set_filename()
706 nfile->filename = name; in debug_set_filename()
710 nunit->files = nfile; in debug_set_filename()
711 info->current_file = nfile; in debug_set_filename()
/netbsd/src/usr.bin/gzip/
Dgzip.c2126 print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize) in print_verbage() argument
2132 if (nfile) in print_verbage()
2133 fprintf(stderr, " -- replaced with %s", nfile); in print_verbage()
/netbsd/src/external/gpl2/xcvs/dist/doc/
Dcvsclient.texi1285 C: Argument nfile
1288 C: Modified nfile
1293 S: E cvs server: scheduling file `nfile' for addition
1296 S: /u/cvsroot/1dir/nfile
1297 S: /nfile/0///
/netbsd/src/external/gpl2/xcvs/dist/
DFAQ7278 cp $CVSROOT/<odir>/<ofile>,v $CVSROOT/<ndir>/<nfile>,v
7292 Retrieve <nfile> and remove all the Tags from it.
7298 cvs update <nfile>
7299 cvs log <nfile> # Save the list of Tags
7300 cvs tag -d <tag1> <nfile>
7301 cvs tag -d <tag2> <nfile>
/netbsd/src/etc/
Dservices17261 # nfile A File Access Protocol