Searched refs:cf (Results 1 – 2 of 2) sorted by relevance
95 struct __file_close *cf; in fdevopen() local100 if ((cf = calloc(1, sizeof(*cf))) == 0) in fdevopen()103 cf->file.flags = __SCLOSE; in fdevopen()104 cf->close = fdevclose; in fdevopen()107 cf->file.get = get; in fdevopen()108 cf->file.flags |= __SRD; in fdevopen()112 cf->file.put = put; in fdevopen()113 cf->file.flush = flush; in fdevopen()114 cf->file.flags |= __SWR; in fdevopen()117 return (FILE *) cf; in fdevopen()
37 struct __file_close *cf = (struct __file_close *) f; in fclose() local38 if ((f->flags & __SCLOSE) && cf->close) { in fclose()42 return (*cf->close)(f); in fclose()