Lines Matching refs:disc
33 { Sfdisc_t disc; /* the sfio discipline structure */ member
40 static ssize_t teewrite(Sfio_t* f, const Void_t* buf, size_t size, Sfdisc_t* disc) in teewrite() argument
42 static ssize_t teewrite(f,buf,size,disc) in teewrite()
46 Sfdisc_t* disc; /* the tee discipline */
49 reg Tee_t* te = (Tee_t*)disc;
56 return sfwr(f,buf,size,disc);
61 static int teeexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* disc) in teeexcept() argument
63 static int teeexcept(f,type,data,disc) in teeexcept()
67 Sfdisc_t* disc;
71 free(disc);
89 te->disc.readf = NIL(Sfread_f);
90 te->disc.seekf = NIL(Sfseek_f);
91 te->disc.writef = teewrite;
92 te->disc.exceptf = teeexcept;