Re: Re: Reading From A Pipe
- From: Lyle Underwood <lyleunderwood gmail com>
- To: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Re: Reading From A Pipe
- Date: Tue, 11 May 2010 16:57:27 -0700
Every single time you write to this list I think that the reds are
trying to recruit me, until I see that it's a gtkmm-list message.
On Tue, 2010-05-11 at 23:53 +0000, american communist party gmail com
wrote:
> On May 11, 2010 1:33pm, pub <pub inbox hughes net> wrote:
> > I am using pipes with file descriptors. How can the pipe be flushed?
>
> File descriptors don't need flushing since there's no buffering
> going on. If you write a single byte to a pipe it should be available
> immediately at the other end. Only if you have mapped a file
> descriptor to a file pointer using fdopen() and you then use C
> standard I/O functions you would need to consider buffering,
> but then the usual fflush() will do the job.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]