/netbsd/usr.sbin/lpr/common_source/ |
H A D | displayq.c | 389 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/bin/sh/ |
H A D | redir.c | 243 fd = n->nfile.fd; in redirect() 248 if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) && in redirect() 322 int fd = redir->nfile.fd; in openredirect() 335 switch (redir->nfile.type) { in openredirect() 337 fname = redir->nfile.expfname; in openredirect() 350 fname = redir->nfile.expfname; in openredirect() 357 fname = redir->nfile.expfname; in openredirect() 378 fname = redir->nfile.expfname; in openredirect() 384 fname = redir->nfile.expfname; in openredirect() 1098 outfmt(out, "%d", n->nfile.fd); in outredir() [all …]
|
H A D | show.c | 578 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()
|
H A D | nodetypes | 120 NTO nfile # fd> fname 121 NCLOBBER nfile # fd>| fname 122 NFROM nfile # fd< fname 123 NFROMTO nfile # fd<> fname 124 NAPPEND nfile # fd>> fname
|
H A D | parser.c | 360 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;
|
H A D | eval.c | 561 for (rn = n->nredir.redirect; rn; rn = rn->nfile.next) in evalsubshell() 601 for (redir = n ; redir ; redir = redir->nfile.next) { in expredir() 611 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR); in expredir() 612 redir->nfile.expfname = fn.list->text; in expredir() 649 for (rn = n->nredir.redirect; rn != NULL; rn = rn->nfile.next) in evalredir() 988 for (rn = cmd->ncmd.redirect; rn; rn = rn->nfile.next) in evalcommand()
|
H A D | jobs.c | 1852 if (n->nfile.fd != i) in cmdtxt() 1853 cmdputi(n->nfile.fd); in cmdtxt() 1861 cmdtxt(n->nfile.fname); in cmdtxt()
|
/netbsd/bin/ksh/ |
H A D | history.c | 951 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/external/bsd/nsd/dist/contrib/bind2nsd/bind2nsd/ |
H A D | NsdConf.py | 412 nfile = open(self.fname, 'w+') 413 self.options.dump(nfile) 418 self.keys[ii].dump(nfile) 424 self.zones[ii].dump(nfile) 426 nfile.close()
|
/netbsd/usr.sbin/pstat/ |
H A D | pstat.c | 900 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/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 113 static int nfile(char *); 304 tfd = nfile(tfname); in main() 441 fd = nfile(dfname); in copy() 535 nfile(char *n) in nfile() function
|
/netbsd/external/bsd/openldap/dist/tests/progs/ |
H A D | slapd-tester.c | 173 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/sbin/mount_portal/examples/ |
H A D | rfilter.1 | 16 % printf "This is\na test\nfile\n" >/tmp/bziptest
|
/netbsd/share/doc/smm/config/ |
H A D | spell.ok | 217 nfile
|
/netbsd/external/gpl3/binutils/dist/binutils/ |
H A D | debug.c | 678 struct debug_file *nfile; in debug_set_filename() local 684 nfile = (struct debug_file *) xmalloc (sizeof *nfile); in debug_set_filename() 685 memset (nfile, 0, sizeof *nfile); in debug_set_filename() 687 nfile->filename = name; in debug_set_filename() 692 nunit->files = nfile; in debug_set_filename() 693 info->current_file = nfile; in debug_set_filename()
|
/netbsd/external/gpl3/gdb/dist/binutils/ |
H A D | debug.c | 678 struct debug_file *nfile; in debug_set_filename() local 684 nfile = (struct debug_file *) xmalloc (sizeof *nfile); in debug_set_filename() 685 memset (nfile, 0, sizeof *nfile); in debug_set_filename() 687 nfile->filename = name; in debug_set_filename() 692 nunit->files = nfile; in debug_set_filename() 693 info->current_file = nfile; in debug_set_filename()
|
/netbsd/external/gpl3/binutils.old/dist/binutils/ |
H A D | debug.c | 678 struct debug_file *nfile; in debug_set_filename() local 684 nfile = (struct debug_file *) xmalloc (sizeof *nfile); in debug_set_filename() 685 memset (nfile, 0, sizeof *nfile); in debug_set_filename() 687 nfile->filename = name; in debug_set_filename() 692 nunit->files = nfile; in debug_set_filename() 693 info->current_file = nfile; in debug_set_filename()
|
/netbsd/external/gpl3/gdb.old/dist/binutils/ |
H A D | debug.c | 678 struct debug_file *nfile; in debug_set_filename() local 684 nfile = (struct debug_file *) xmalloc (sizeof *nfile); in debug_set_filename() 685 memset (nfile, 0, sizeof *nfile); in debug_set_filename() 687 nfile->filename = name; in debug_set_filename() 692 nunit->files = nfile; in debug_set_filename() 693 info->current_file = nfile; in debug_set_filename()
|
/netbsd/usr.bin/gzip/ |
H A D | gzip.c | 2108 print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize) in print_verbage() argument 2114 if (nfile) in print_verbage() 2115 fprintf(stderr, " -- replaced with %s", nfile); in print_verbage()
|
/netbsd/external/gpl2/xcvs/dist/doc/ |
H A D | cvsclient.texi | 1285 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/external/gpl2/xcvs/dist/ |
H A D | FAQ | 7278 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/etc/ |
H A D | services | 17261 # nfile A File Access Protocol
|