If there is a /proc/$$/fd directory, behave like the Solaris closefrom()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jun 2004 16:44:14 +0000 (16:44 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jun 2004 16:44:14 +0000 (16:44 +0000)
commite2a573d6cce4c9e1298236d0e2e0518e2e94ac9b
treef92276c7b4f7c7caaa63b39692581e9a36ef25b5
parent5cb8b8349648951fb8e8734e540a89668a0bc279
If there is a /proc/$$/fd directory, behave like the Solaris closefrom()
and only close the descriptors listed therein.
closefrom.c