Exemplo n.º 1
0
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;
    }
}
Exemplo n.º 2
0
int fputc(int c, FILE *f)
{
    Wr$PutC(f->wr, c);
    return (int)((unsigned char)c);
}
Exemplo n.º 3
0
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);
}