/freebsd-10.1-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-10.1-release/usr.sbin/lpr/common_source/ |
H A D | rmjob.c | 193 FILE *cfp; local 198 if ((cfp = fopen(file, "r")) == NULL) 201 while (getline(cfp)) { 209 (void) fclose(cfp); 235 FILE *cfp; local 251 if ((cfp = fopen(file, "r")) == NULL) 254 while (getline(cfp)) { 258 (void) fclose(cfp);
|
H A D | displayq.c | 387 FILE *cfp; local 394 if ((cfp = fopen(cf, "r")) == NULL) 418 while (getline(cfp)) { 422 fclose(cfp); 464 fclose(cfp);
|
H A D | common.c | 83 * Getline reads a line from the control file cfp, removes tabs, converts 88 getline(FILE *cfp) argument 94 while ((c = getc(cfp)) != '\n' && (size_t)(linel+1) < sizeof(line)) {
|
/freebsd-10.1-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-10.1-release/usr.bin/chat/ |
H A D | chat.c | 324 FILE *cfp; local 326 cfp = fopen (chatfile, "r"); 327 if (cfp == NULL) 333 while (fgets(buf, STR_LEN, cfp) != NULL) { 381 fclose (cfp);
|
/freebsd-10.1-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-10.1-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-10.1-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-10.1-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-10.1-release/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 99 static FILE *cfp; /* control file */ variable 398 if ((cfp = fopen(file, "r")) == NULL) { 455 while (getline(cfp)) 559 (void) fclose(cfp); 579 fseek(cfp, 0L, 0); 580 while (getline(cfp)) 600 (void) fclose(cfp); 903 if ((cfp = fopen(file, "r")) == NULL) 925 while (getline(cfp)) { 957 while ((i = getline(cfp)) ! [all...] |
/freebsd-10.1-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdstate.c | 118 uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p); 122 int oldflags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, 1484 struct nfslock **new_lopp, struct nfslockconflict *cfp, 1592 new_lop->lo_first, new_lop->lo_end, cfp, p); 2024 if (cfp != NULL && ret == 0) { 2025 cfp->cl_clientid.lval[0]=lop->lo_stp->ls_stateid.other[0]; 2026 cfp->cl_clientid.lval[1]=lop->lo_stp->ls_stateid.other[1]; 2027 cfp->cl_first = lop->lo_first; 2028 cfp->cl_end = lop->lo_end; 2029 cfp 1483 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 5340 nfsrv_locallock(vnode_t vp, struct nfslockfile *lfp, int flags, uint64_t first, uint64_t end, struct nfslockconflict *cfp, NFSPROC_T *p) argument 5475 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...] |