static void Wr_PutC_m(Wr_cl *self, int8_t ch) { Console_st *st=self->st; struct output *o=st->outputs.next; while (o!=&st->outputs) { if (ch=='\n') { Wr$PutC(o->wr, '\r'); } Wr$PutC(o->wr, ch); if (o->flush) Wr$Flush(o->wr); o=o->next; } }
int fputc(int c, FILE *f) { Wr$PutC(f->wr, c); return (int)((unsigned char)c); }
void cConvertBaseXXX::PutNC(const void * aPtr,int aNbC,std::ostream & anOs) { const char * aCPtr = (const char *) aPtr; for (int aK=0 ; aK<aNbC ; aK++) PutC(aCPtr[aK],anOs); }