Actually, I was just wondering : why would somebody want to close the stderr ? I'd think the best they'd do is to dup stderr to /dev/null or something.
IIRC, httpd will specifically close stderr to ensure that the children processes can not write to stderr. So, yes, it's quite common. -- justin
