problem piping stdout

Owen Lucas owen.lucas@student.adelaide.edu.au
Mon Oct 2 02:04:00 GMT 2006


> 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
>




More information about the Gcc-help mailing list