* Julian Elischer <[EMAIL PROTECTED]> wrote: > Ed Schouten wrote: >> Woops! Sorry for responding this late, but it looks like I didn't >> explain myself good enough. Sorry. :) To rephrase myself: >> Wouldn't it be better to just implement fcntl(..., F_CLOSEM, ...) in the >> kernel and make closefrom() a simple libc routine: >> void >> closefrom(int lowfd) >> { >> fcntl(lowfd, F_CLOSEM, NULL); >> } > > what on earth would that achieve? > (as opposed to just a simple syscall)
Compatability with an existing implementation. -- Ed Schouten <[EMAIL PROTECTED]> WWW: http://g-rave.nl/
pgpi3x1Qps6xR.pgp
Description: PGP signature