This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: problem piping stdout
- From: Owen Lucas <owen dot lucas at student dot adelaide dot edu dot au>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 2 Oct 2006 11:34:22 +0930
- Subject: Re: problem piping stdout
- References: <1159709654.451fc3d67797a@webmail.adelaide.edu.au> <200610011628.31370.vda.linux@googlemail.com>
> Use strace to find out what is going on.
shows what I would expect
> Does it work if you do write(1, "foo bar\n", 8) instead of printf?
YES it does!
So why does that work and not printf?
owen
Quoting Denis Vlasenko <vda.linux@googlemail.com>:
>
> Use strace to find out what is going on.
>
> Does it work if you do write(1, "foo bar\n", 8) instead of printf?
> --
> vda
>