_cleanup() vs Linux fcloseall()
John Baldwin
jhb at freebsd.org
Wed Mar 29 21:04:40 UTC 2006
On Wednesday 29 March 2006 14:54, Daniel Eischen wrote:
> It seems that some 3rd party code, pmake in particular, rely on
> the implementation exporting _cleanup() to close all open file
> descriptors. Linux supplies fcloseall() and does not export
> _cleanup().
>
> In the initial cut of symbol versioning for libc, I did not
> export _cleanup(). This breaks pmake, and perhaps some other
> 3rd party applications. Do we want to continue to export this
> interface, or should we provide an equivalent of Linux'
> fcloseall()?
I would vote for fcloseall() personally.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-current
mailing list