This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc 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]

[Bug manual/670] system() documentation is incomplete (for standard streams)


------- Additional Comments From vincent+libc at vinc17 dot org  2005-01-15 22:12 -------
I disagree. In your example, you close stdout, so you get the expected behavior.
In my example, stdout is reopened by freopen(). So, this is different.

If, in your example, stdin is closed (as in my example before system() is
called), then there is no problem:

dixsept:~/wd/src> ./stdstreams <&-
OK 2

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=670

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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