The exit() and _Exit() functions conform to
(from OpenBSD web-manuals)
DragonFly has no _Exit() function which is defined by
the above standards. _Exit() should therefore be
present in the system.
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
Updated by joerg over 12 years ago
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.
Updated by swildner over 12 years ago
Hmm, I disagree.
The manual pages are the system reference and therefore should neutrally
document the system, regardless of the feature's obscurity,
deprecatedness or non-portability (which can in turn be documented, of
It might be irrelevant but the manual is not the place where this line
should be drawn. In the ideal world, all stuff would be added or removed
along with its documentation.
If it's in libc (as is the case with _Exit()), it certainly should be
mentioned in a manual page.
Updated by dillon over 12 years ago
Did someone from Amigaland sneak into the standards committee room
and brainwash the members?
In anycase, it IS in our libc and it is in C99 so it should be
documented. But maybe add a sentence saying it is somewhat new
and _exit() is probably more portable then _Exit().