[mythtv] open file handles and exec()

Isaac Richards ijr at po.cwru.edu
Sun Jul 13 22:13:42 EDT 2003


On Sunday 13 July 2003 08:34 pm, Geoffrey Hausheer wrote:
> I have seen crude hacks like:
>    for (int i = 3; i < 9999; i++)
>      close(i);
>
> but that is just plain nasty.

It's really the easiest thing to do, though, right after forking.

Isaac


More information about the mythtv-dev mailing list