Hi,

thanks again for that hint. Unfortunately adding 
         /* switch to line buffered mode */
        if(setvbuf(fh, NULL, _IOLBF, 0))
                perror("setvbuf(_IOLBF)");

to the program posted by Dov doesn't change anything.
Are there limitations on changing the buffer mode? E.g.
only the transmitter side can do that?

Till

Am Freitag 20 November 2009 schrieb David Nečas:
> Terminals are normaly line-buffered while pipes are block-buffered, see
> setvbuf(3) for some info.  So the buffering behaviour differs depending
> on where the output goes.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to