Project

General

Profile

Actions

Bug #702

closed

_Exit() function

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

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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/
Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

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
Actions

Also available in: Atom PDF