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
#2 Updated by joerg almost 11 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.
#3 Updated by swildner almost 11 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.
#4 Updated by dillon almost 11 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().