Bug #702

_Exit() function

Added by robin_carey5 over 9 years ago. Updated over 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-


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.

R Carey.

Yahoo! Answers - Got a question? Someone out there knows the answer. Try it


#1 Updated by joerg over 9 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.


#2 Updated by joerg over 9 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 over 9 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.

My 2ยข,

#4 Updated by dillon over 9 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().


Also available in: Atom PDF