#undef SF_MTSAFE /* no need to worry about thread-safety */
#define SF_MTSAFE 0
-#define SFONCE() (void)(0)
-
#define SFMTXLOCK(f) (void)(0)
#define SFMTXUNLOCK(f) (void)(0)
#define SFMTXSTART(f,v) { if(!f) return(v); }
Sfoff_t addr;
int rv = 0;
- SFONCE(); /* initialize mutexes */
-
if ((!local && SFFROZEN(f))
|| (!(f->flags & SF_STRING) && f->file < 0)) {
if (local || !f->disc || !f->disc->exceptf) {
Sfio_t *f;
int sflags;
- SFONCE(); /* initialize mutexes */
-
if (!(flags & SF_RDWR))
return NIL(Sfio_t *);
int oflags, init, local;
Stat_t st;
- SFONCE();
-
SFMTXSTART(f, NIL(void *));
GETLOCAL(f, local);