Searched refs:logf (Results 1 - 2 of 2) sorted by relevance

/ast/src/cmd/tests/sfio/
H A Dtpopenrw.c28 Sfio_t* logf = sfopen(0,"LOG","a"); sfsetbuf(logf,NIL(Void_t*),0); local
37 sfwrite(logf, s, sfvalue(sfstdin));
/ast/src/cmd/coshell/
H A Devent.c214 Sfio_t* logf; /* log buffer stream */ member in struct:State_s
273 if (type != 'I' && state->log && state->logf)
274 sfprintf(state->logf, "%s (%03d) %c %s\n", fmttime("%K", time(NiL)), con ? con->fd : 0, type, s);
1156 if (state.logf = sfopen(NiL, s, "a"))
1157 sfset(state.logf, SF_LINE, 1);

Completed in 13 milliseconds