/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | cf.c | 45 SM_FILE_T *cfp; local 53 cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, path, SM_IO_RDONLY, NULL); 54 if (cfp == NULL) 57 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 90 if (sm_io_error(cfp)) 94 (void) sm_io_close(cfp, SM_TIME_DEFAULT); 98 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-9.3-release/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 194 FILE *cfp; local 199 if ((cfp = fopen(file, "r")) == NULL) 202 while (getline(cfp)) { 210 (void) fclose(cfp); 236 FILE *cfp; local 252 if ((cfp = fopen(file, "r")) == NULL) 255 while (getline(cfp)) { 259 (void) fclose(cfp);
|
H A D | displayq.c | 388 FILE *cfp; local 395 if ((cfp = fopen(cf, "r")) == NULL) 419 while (getline(cfp)) { 423 fclose(cfp); 465 fclose(cfp);
|
H A D | common.c | 84 * Getline reads a line from the control file cfp, removes tabs, converts 89 getline(FILE *cfp) argument 95 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
|
/freebsd-9.3-release/contrib/sendmail/praliases/ |
H A D | praliases.c | 65 SM_FILE_T *cfp; local 116 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 125 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 160 (void) sm_io_close(cfp, SM_TIME_DEFAULT); 225 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-9.3-release/usr.bin/chat/ |
H A D | chat.c | 325 FILE *cfp; local 327 cfp = fopen (chatfile, "r"); 328 if (cfp == NULL) 334 while (fgets(buf, STR_LEN, cfp) != NULL) { 382 fclose (cfp);
|
/freebsd-9.3-release/contrib/sendmail/editmap/ |
H A D | editmap.c | 102 FILE *cfp; local 214 if ((cfp = fopen(cfile, "r")) == NULL) 220 while (fgets(buf, sizeof(buf), cfp) != NULL) 270 (void) fclose(cfp);
|
/freebsd-9.3-release/contrib/sendmail/mailstats/ |
H A D | mailstats.c | 56 SM_FILE_T *cfp; local 122 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, SM_IO_RDONLY, 137 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 212 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-9.3-release/contrib/sendmail/makemap/ |
H A D | makemap.c | 107 SM_FILE_T *cfp; local 240 if ((cfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, cfile, 248 while (sm_io_fgets(cfp, SM_TIME_DEFAULT, buf, sizeof(buf)) >= 0) 300 (void) sm_io_close(cfp, SM_TIME_DEFAULT);
|
/freebsd-9.3-release/lib/libc/rpc/ |
H A D | svc_vc.c | 434 struct cf_rendezvous *cfp; local 436 cfp = (struct cf_rendezvous *)xprt->xp_p1; 437 if (cfp == NULL) 441 *(int *)in = cfp->maxrec; 444 cfp->maxrec = *(int *)in; 469 struct cf_conn *cfp; local 476 cfp = (struct cf_conn *)xprt->xp_p1; 478 if (cfp->nonblock) { 487 gettimeofday(&cfp->last_recv_time, NULL); 509 gettimeofday(&cfp [all...] |
/freebsd-9.3-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 98 static FILE *cfp; /* control file */ variable 397 if ((cfp = fopen(file, "r")) == NULL) { 454 while (getline(cfp)) 558 (void) fclose(cfp); 578 fseek(cfp, 0L, 0); 579 while (getline(cfp)) 599 (void) fclose(cfp); 902 if ((cfp = fopen(file, "r")) == NULL) 924 while (getline(cfp)) { 956 while ((i = getline(cfp)) ! [all...] |
/freebsd-9.3-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 114 uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p); 118 int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, 1308 struct nfslock **new_lopp, struct nfslockconflict *cfp, 1416 new_lop->lo_first, new_lop->lo_end, cfp, p); 1843 if (cfp != NULL && ret == 0) { 1844 cfp->cl_clientid.lval[0]=lop->lo_stp->ls_stateid.other[0]; 1845 cfp->cl_clientid.lval[1]=lop->lo_stp->ls_stateid.other[1]; 1846 cfp->cl_first = lop->lo_first; 1847 cfp->cl_end = lop->lo_end; 1848 cfp 1307 nfsrv_lockctrl(vnode_t vp, struct nfsstate **new_stpp, struct nfslock **new_lopp, struct nfslockconflict *cfp, nfsquad_t clientid, nfsv4stateid_t *stateidp, __unused struct nfsexstuff *exp, struct nfsrv_descript *nd, NFSPROC_T *p) argument 4992 nfsrv_locallock(vnode_t vp, struct nfslockfile *lfp, int flags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p) argument 5127 nfsrv_dolocal(vnode_t vp, struct nfslockfile *lfp, int flags, int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p) argument [all...] |