Message24896
Logged In: YES
user_id=81797
The child is a copy of the parent. Therefore, if in the
parent you open a few file descriptors, those are the ones
you should close in the child. That is exactly what I've
done in the past when I forked a child, and it has worked
very well.
I suspect Stevens would make an exception to his guideline
in the event that closing a file descriptor results in
library routine failures. |
|
Date |
User |
Action |
Args |
2007-08-23 14:30:45 | admin | link | issue1177468 messages |
2007-08-23 14:30:45 | admin | create | |
|