DragonFly bugs List (threaded) for 2007-06
Re: _Exit() function
On Fri, Jun 15, 2007 at 12:56:36PM +0200, Joerg Sonnenberger wrote:
> On Fri, Jun 15, 2007 at 10:45:53AM +0100, Robin Carey wrote:
> > The exit() and _Exit() functions conform to
> > ANSI/ISO/IEC 9899-1999
> > (``ANSI C99'').
> > (from OpenBSD web-manuals)
> > DragonFly has no _Exit() function which is defined by
> > the above standards. _Exit() should therefore be
> > present in the system.
> I don't know what the person smoked that wrote the man page. There is no
> _Exit function, because the name is _exit. And that's implemented.
OK, let's be precise. The relevant standard here is the Single Unix
Specification. SUS v2 mentions only _exit and that is what is more
widely implemented. _Exit exists as well for C99, but it is irrelevant
to mention as the POSIX standard has already _exit and that should be
used in portable code instead.