HomeSort by: relevance | last modified time | path
    Searched defs:cfp (Results 1 - 9 of 9) sorted by relevancy

  /src/usr.bin/man/
manconf.c 103 FILE *cfp; local in function:config
110 if ((cfp = fopen(fname, "r")) == NULL)
113 for (lcnt = 1; (p = fgetln(cfp, &len)) != NULL; ++lcnt) {
212 (void)fclose(cfp);
  /src/usr.sbin/lpr/common_source/
rmjob.c 187 FILE *cfp; local in function:process
192 if ((cfp = fopen(file, "r")) == NULL)
195 while (get_line(cfp)) {
203 (void)fclose(cfp);
229 FILE *cfp; local in function:chk
244 if ((cfp = fopen(file, "r")) == NULL)
247 while (get_line(cfp)) {
251 (void)fclose(cfp);
displayq.c 302 FILE *cfp; local in function:inform
309 if ((cfp = fopen(cf, "r")) == NULL)
318 while (get_line(cfp)) {
322 fclose(cfp);
354 fclose(cfp);
  /src/games/dm/
dm.c 129 FILE *cfp; local in function:read_config
132 if (!(cfp = fopen(_PATH_CONFIG, "r")))
134 while (fgets(lbuf, sizeof(lbuf), cfp))
154 (void)fclose(cfp);
  /src/sys/kern/
subr_userconf.c 201 const struct cfparent *cfp; local in function:userconf_pdev
217 cfp = cd->cf_pspec;
218 if (cfp == NULL)
220 else if (cfp->cfp_parent != NULL && cfp->cfp_unit != -1)
221 printf(" %s%d", cfp->cfp_parent, cfp->cfp_unit);
223 printf(" %s?", cfp->cfp_parent != NULL ? cfp->cfp_parent
224 : cfp->cfp_iattr)
    [all...]
  /src/distrib/utils/ssh/
ssh.c 101 FILE *cfp; /* command file ptr */ local in function:main
135 if ((cfp = fopen(cf_name, "r")) != NULL) {
136 error = runfile(cfp);
137 fclose(cfp);
152 cfp = fopen(cf_name, "r");
153 if (cfp == NULL) {
157 error = runfile(cfp);
158 fclose(cfp);
199 runfile(FILE *cfp)
214 if ((fgets(ibuf, sizeof(ibuf), cfp)) == NULL
    [all...]
  /src/lib/libc/rpc/
svc_vc.c 438 struct cf_rendezvous *cfp; local in function:svc_vc_rendezvous_control
440 cfp = (struct cf_rendezvous *)xprt->xp_p1;
441 if (cfp == NULL)
445 *(int *)in = cfp->maxrec;
448 cfp->maxrec = *(int *)in;
475 struct cf_conn *cfp; local in function:read_vc
518 cfp = (struct cf_conn *)xprt->xp_p1;
520 if (cfp->nonblock) {
529 gettimeofday(&cfp->last_recv_time, NULL);
551 gettimeofday(&cfp->last_recv_time, NULL)
    [all...]
  /src/usr.sbin/lpr/lpd/
printjob.c 96 static FILE *cfp; /* control file */ variable in typeref:typename:FILE *
347 if ((cfp = fopen(file, "r")) == NULL) {
400 while (get_line(cfp))
484 (void)fclose(cfp);
504 fseek(cfp, 0L, 0);
505 while (get_line(cfp))
525 (void)fclose(cfp);
807 if ((cfp = fopen(file, "r")) == NULL)
824 while (get_line(cfp)) {
841 while ((i = get_line(cfp)) != 0
    [all...]
  /src/sys/arch/mac68k/obio/
iwm_fd.c 413 struct cfdata *cfp; local in function:fd_match
416 cfp = match;
418 cfUnit = cfp->cf_loc[IWMCF_DRIVE];

Completed in 15 milliseconds