2009/4/16 Tobias Rehbein :
> s/Good/Could/
>
>
> -- Forwarded message --
> From: Tobias Rehbein
> To: Mel Flynn
> Date: Thu, 16 Apr 2009 21:03:52 +0200
> Subject: Re: [OT] C programming question: reopen stdin
> Am Tue, Apr 14, 2009 at 09:07:26PM +02
On Thursday 16 April 2009 21:03:52 Tobias Rehbein wrote:
> Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn:
> > On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote:
> > > I'm having a little trouble solving a specific problem in C. I want to
> > > write a filter which reads data from
s/Good/Could/
--- Begin Message ---
Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn:
> On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote:
>
> > I'm having a little trouble solving a specific problem in C. I want to
> > write a filter which reads data from stdin. After reading the u
Am Tue, Apr 14, 2009 at 09:07:26PM +0200 schrieb Mel Flynn:
> On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote:
>
> > I'm having a little trouble solving a specific problem in C. I want to
> > write a filter which reads data from stdin. After reading the user should
> > be able to interact w
On Tuesday 14 April 2009 20:13:00 Tobias Rehbein wrote:
> I'm having a little trouble solving a specific problem in C. I want to
> write a filter which reads data from stdin. After reading the user should
> be able to interact with the program via stdin.
Just open(2) /dev/tty. If tty is invalid,
Hi all.
I'm having a little trouble solving a specific problem in C. I want to write a
filter which reads data from stdin. After reading the user should be able to
interact with the program via stdin. This means I have to reopen stdin but I
don't know how to do this. I tried to solve this using du