This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem piping stdout


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]