Lines Matching refs:newf
296 Sfio_t newf, savf;
307 SFCLEAR(&newf,NIL(Vtmutex_t*));
308 newf.flags = SF_STATIC;
309 newf.mode = SF_AVAIL;
317 sf = sfnew(&newf,NIL(Void_t*),(size_t)SF_UNBOUND,fd,SF_READ|SF_WRITE);
322 if(newf.mutex) /* don't need a mutex for this stream */
323 { (void)vtmtxclrlock(newf.mutex);
324 (void)vtmtxclose(newf.mutex);
325 newf.mutex = NIL(Vtmutex_t*);
343 /* remove the SF_STATIC bit if it was only set above in making newf */
363 /* erase all traces of newf */
364 newf.data = newf.endb = newf.endr = newf.endw = NIL(uchar*);
365 newf.file = -1;
367 sfclose(&newf);