Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Another simple fork() question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another simple fork() question



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

Thanks,

Niels
_______________________________________________
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.





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.