Home
last modified time | relevance | path

Searched refs:nf (Results 1 – 25 of 57) sorted by relevance

123

/original-bsd/usr.bin/mail/
H A Dedit.c120 register FILE *nf = NULL; local
138 (void) putc(t, nf);
141 (void) putc(t, nf);
142 (void) fflush(nf);
147 if (ferror(nf)) {
148 (void) Fclose(nf);
151 nf = NULL;
154 if (Fclose(nf) < 0) {
157 nf = NULL;
160 nf = NULL;
[all …]
H A Dcollect.c417 FILE *nf = run_editor(fp, (off_t)-1, c, 0); local
419 if (nf != NULL) {
420 fseek(nf, 0L, 2);
421 collf = nf;
438 FILE *nf; local
443 if ((nf = Fopen(tempEdit, "w+")) == NULL) {
456 (void) Fclose(nf);
459 if (fsize(nf) == 0) {
461 (void) Fclose(nf);
467 (void) fseek(nf, 0L, 2);
[all …]
/original-bsd/old/refer/refer/
H A Drefer2.c24 int stat, nf, nr, query = 0, alph, digs; local
116 nf = tabs(flds, one);
117 nf += tabs(flds+nf, dbuff);
118 assert(nf < NFLD);
119 putsig(nf,flds,nr,line1,line,0);
129 nf = tabs(flds, one);
130 nf += tabs(flds+nf, dbuff);
131 assert(nf < NFLD);
134 putkey(nf, flds, refnum, keystr);
136 putsig(nf, flds, refnum, line1, line, 1);
[all …]
H A Drefer5.c34 if (nf == 0) /* old */
41 sd = fpar(nf, flds, t2, 'D', 1, 0);
42 sprintf(t, "%s, %s", fpar(nf,flds,t1,'A',1,0),
51 sd = fpar(nf, flds, t2, 'D', 1, 0);
60 sprintf(t, format, fpar(nf,flds,t1,'A',1,0),
158 if (nf > 0 && toindex)
168 fpar (nf, flds, out, c, seq, prepend) in fpar() argument
174 for(i = 0; i < nf; i++)
214 putkey(nf, flds, nref, keystr) in putkey() argument
221 if (nf <= 0)
[all …]
/original-bsd/old/refer/hunt/
H A Dhunt2.c28 int nf = 0, best = 0, nterm = 0, i, g, j; local
112 nf= i;
120 for(j=0; j<nf; j++)
180 if (colevel==0 && j>=nf) break;
209 for ( ; j<nf; j++)
225 nf = g;
230 for(j=0; j<nf; j++)
236 for(g=j=0; j<nf; j++)
244 nf=g;
258 for(g=0;g<nf;g++)
[all …]
H A Dhunt6.c18 baddrop(master, nf, fc, nitem, qitem, rprog, full) in baddrop() argument
40 nf, umaster.b[0], umaster.b[1], umaster.b[2]);
43 nf, umaster.a[0], umaster.a[1], umaster.a[2]);
45 for (i=g=0; i<nf; i++)
82 i, nf, res, len, output);
H A Dhunt5.c15 result(master, nf, fc) in result() argument
33 for(i=0; i<nf; i++)
/original-bsd/old/refer/NOTUSED/whatabout/
H A Dwhat4.c31 int nw = 0, i, any, nf, j, wexch(), wcomp(); local
34 for(nf=0; fn[nf] && nf<NF; nf++)
35 fi[nf] = fn[nf][0] ? fopen(fn[nf], "r") : NULL;
38 for(i=0; i<nf; i++)
H A Dwhat1.c23 int xargc = 0, nw, nf, i; local
40 nf = doclook(argc,argv,0);
41 printf(" %d files\n",nf);
42 if (relfeed && nf>NFEED)
58 nf = doclook(xargc, xargv, relfeed? xargc/4 : 0);
59 printf(" %d files\n",nf);
61 shell (nf, comp, exch);
62 wrdoc(nf, xargc, xargv, 0);
/original-bsd/usr.bin/xsend/xsend/
H A Dxsend.c84 FILE *nf, *popen(); local
88 if ((nf = popen(buf, "w")) == NULL)
92 pclose(nf);
96 fprintf(nf, "Subject: %s@%s sent you secret mail\n",
98 fprintf(nf,
101 pclose(nf);
/original-bsd/usr.bin/indent/
H A Dio.c529 chfont(of, nf, s) in chfont() argument
531 *nf; in chfont()
534 if (of->font[0] != nf->font[0]
535 || of->font[1] != nf->font[1]) {
538 if (nf->font[1]) {
540 *s++ = nf->font[0];
541 *s++ = nf->font[1];
544 *s++ = nf->font[0];
546 if (nf->size != of->size) {
549 if (nf->size < of->size) {
[all …]
/original-bsd/games/ching/
H A Dmacros26 .nf
49 .nf
58 .nf
82 .nf
89 .nf
/original-bsd/usr.bin/f77/libU77/
H A Dtapeio.c206 long nf; local
225 nf = (long)tu->tu_file; /* should be number to skip */
227 tskipf_(tlu, &nf, &zero);
320 int nf; local
340 nf = (int)*nfiles;
341 while (nf > 0) {
360 nf--;
/original-bsd/old/ms/
H A Dtmac.sdisp4 .nf
29 .nf
37 .nf
/original-bsd/old/htable/
H A Dhtable.c38 FILE *nf; /* networks file */ variable
95 nf = fopen("networks", "w");
96 if (nf == NULL) {
100 copylocal(nf, "localnetworks");
202 fprintf(nf, "%-16.16s", lower(nl->name_val));
207 putnet(nf, inet_netof(al->addr_val));
210 fprintf(nf, cp, lower(nl->name_val));
213 putc('\n', nf);
/original-bsd/admin/admin/4.3Tahoe/
H A DLOAUC.Tahoe.864 .nf
36 .nf
H A DLOAUC.Tahoe.834 .nf
35 .nf
/original-bsd/usr.bin/uucp/uucico/
H A Dconn.c125 int nf; local
130 nf = 0;
205 if (nf <= 0) {
207 return fcode ? fcode : nf;
214 fcode = login(nf, Flds, Dcf); }
424 login(nf, flds, fn) in login() argument
426 int nf, fn;
431 if (nf < 4) {
432 syslog(LOG_ERR, "Too few log fields: %d", nf);
438 for (k = F_LOGIN; k < nf; k += 2) {
[all …]
/original-bsd/usr.bin/f77/libI77/
H A Dwrtfmt.c276 { int i,delta,dp,sign,n,nf; local
289 nf = w - (d + delta + (dp>0?dp:0));
290 if(nf<0)
295 if(nf>0) for(i=0; i<(nf-(dp<=0?1:0)); i++) PUT(' ')
299 else if(nf>0) PUT('0')
/original-bsd/admin/admin/copyright4.2-4.3/
H A Dlic.letter26 .nf
39 .nf
54 .nf
H A Dletter5 .nf
49 .nf
62 .nf
79 .nf
105 .nf
143 .nf
/original-bsd/games/fortune/strfile/
H A Dstrfile.c363 # define SET_N(nf,ch) (nf = (ch == '\n')) argument
364 # define IS_END(ch,nf) (ch == Delimch && nf) argument
/original-bsd/old/libm/libm/VAX/
H A Dsupport.s140 movw -4(fp),-8(fp) #-8(fp) = nf := nx
186 movw -8(fp),r6 #r6=nf
189 subw2 r6,r8 #r8=xexp-nf
190 bgtr C5 #if xexp-nf is positive goto C5
/original-bsd/lib/libm/vax/
H A Dsupport.s140 movw -4(fp),-8(fp) #-8(fp) = nf := nx
186 movw -8(fp),r6 #r6=nf
189 subw2 r6,r8 #r8=xexp-nf
190 bgtr C5 #if xexp-nf is positive goto C5
/original-bsd/lib/libedit/
H A Dmap.c1352 int nf = el->el_map.nfunc + 2; local
1357 el_realloc(el->el_map.func, nf * sizeof(el_func_t));
1359 el_realloc(el->el_map.help, nf * sizeof(el_bindings_t));
1361 nf = el->el_map.nfunc;
1362 el->el_map.func[nf] = func;
1364 el->el_map.help[nf].name = name;
1365 el->el_map.help[nf].func = nf;
1366 el->el_map.help[nf].description = help;
1367 el->el_map.help[++nf].name = NULL;

123