Bug #702
closed_Exit() function
0%
Description
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.
Sincerely,
R Carey.
___________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/
Updated by joerg over 17 years ago
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.
Joerg
Updated by joerg over 17 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.
Joerg
Updated by swildner over 17 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
course).
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.
My 2ยข,
Sascha
Updated by dillon over 17 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().
-Matt