Hi All, Man page of exec says that file descriptors are open across exec. Is there any way I can close all file descriptors after an exec ? (And why is it done this way?) Thanks Raghav _________________________________________________________ There is always a better job for you at Monsterindia.com. Go now http://monsterindia.rediff.com/jobs -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/