Searched refs:nfile (Results 1 - 12 of 12) sorted by relevance

/netbsd-6-1-5-RELEASE/bin/sh/
H A Dredir.c128 for (n = redir ; n ; n = n->nfile.next) {
129 fd = n->nfile.fd;
131 if ((n->nfile.type == NTOFD || n->nfile.type == NFROMFD) &&
176 int fd = redir->nfile.fd;
188 switch (redir->nfile.type) {
190 fname = redir->nfile.expfname;
201 fname = redir->nfile.expfname;
210 fname = redir->nfile.expfname;
215 fname = redir->nfile
[all...]
H A Dshow.c139 for (np = cmd->ncmd.redirect ; np ; np = np->nfile.next) {
142 switch (np->nfile.type) {
152 if (np->nfile.fd != dftfd)
153 fprintf(fp, "%d", np->nfile.fd);
155 if (np->nfile.type == NTOFD || np->nfile.type == NFROMFD) {
158 sharg(np->nfile.fname, fp);
H A Dparser.c313 rpp = &n2->nfile.next;
512 rpp = &n2->nfile.next;
578 rpp = &n->nfile.next;
682 n->nfile.fname = makename();
1195 np = (union node *)stalloc(sizeof (struct nfile));
1197 np->nfile.fd = 1;
1210 np->nfile.fd = 0;
1213 if (sizeof (struct nfile) != sizeof (struct nhere)) {
1215 np->nfile.fd = 0;
1243 np->nfile
[all...]
H A Deval.c462 for (redir = n ; redir ; redir = redir->nfile.next) {
471 expandarg(redir->nfile.fname, &fn, EXP_TILDE | EXP_REDIR);
472 redir->nfile.expfname = fn.list->text;
H A Djobs.c1350 if (n->nfile.fd != i) {
1351 s[0] = n->nfile.fd + '0';
1361 cmdtxt(n->nfile.fname);
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/common_source/
H A Ddisplayq.c389 show(const char *nfile, const char *file, int copies) argument
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) argument
423 if (((n = strlen(nfile)) + col + fill) >= SIZCOL-4) {
433 printf("%s", nfile);
446 ldump(const char *nfile, const char *file, int copies) argument
452 printf("%-2d copies of %-19s", copies, nfile);
[all...]
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpr/
H A Dlpr.c113 static int nfile(char *);
304 tfd = nfile(tfname);
441 fd = nfile(dfname);
535 nfile(char *n) function
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dhistory.c954 char nfile[1024]; local
968 (void) shf_snprintf(nfile, sizeof(nfile), "%s.%d", hname, procpid);
969 if ((fd = creat(nfile, 0600)) < 0)
974 unlink(nfile);
979 unlink(nfile);
992 if (rename(nfile, hname) < 0)
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/tests/progs/
H A Dslapd-tester.c164 char *nfile = NULL; local
390 nfile = get_file_name( dirname, file->d_name );
420 if ( !sfile && !rfile && !nfile && !mfile && !bfile && !anum ) {
448 if ( nfile ) {
449 nnum = get_read_entries( nfile, nreqs, NULL );
453 nfile, -2*(nnum + 1) );
/netbsd-6-1-5-RELEASE/usr.sbin/pstat/
H A Dpstat.c855 int len, maxfile, nfile, ovflw; local
859 KGET(FNL_NFILE, nfile);
860 (void)printf("%3d/%3d files\n", nfile, maxfile);
869 nfile = len / sizeof(struct kinfo_file);
871 (void)printf("%d/%d open files\n", nfile, maxfile);
875 for (ki = (struct kinfo_file *)offset; nfile--; ki++) {
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/binutils/
H A Ddebug.c680 struct debug_file *nfile;
686 nfile = (struct debug_file *) xmalloc (sizeof *nfile);
687 memset (nfile, 0, sizeof *nfile);
689 nfile->filename = name;
694 nunit->files = nfile;
695 info->current_file = nfile;
678 struct debug_file *nfile; local
/netbsd-6-1-5-RELEASE/usr.bin/gzip/
H A Dgzip.c1920 print_verbage(const char *file, const char *nfile, off_t usize, off_t gsize) argument
1926 if (nfile)
1927 fprintf(stderr, " -- replaced with %s", nfile);

Completed in 221 milliseconds