|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
If your program is not too confidential and too big, provide the list with the whole program, as the way you arrange c++ files and headers files can have a great influence on the way the pipes and the stdin, stdout react.Hi,
I tested some more, and...
http://micmacfr.homeunix.org/progsysdet/progsys05.shtml
even if I close the read-ends of the pipe that I will not read out, before I do anything after fork(), it doesn't work. It also doesn't work when I forget about using stdin and stdout in the child completely, but do a direct read() in the child to read from the parent instead, like you are doing in your example. That still doesn't work....
Michhle <http://micmacfr.homeunix.org/> _______________________________________________ unix-porting mailing list | email@hidden Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting Do not post admin requests to the list. They will be ignored.
| References: | |
| >Re: Another simple fork() question (From: email@hidden) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.