https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082007-06-15T18:00:01ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #702: _Exit() functionhttps://bugs.dragonflybsd.org/issues/702?journal_id=29992007-06-15T18:00:01Zjoerg
<ul></ul><p>I don't know what the person smoked that wrote the man page. There is no<br />_Exit function, because the name is _exit. And that's implemented.</p>
<p>Joerg</p> DragonFlyBSD - Bug #702: _Exit() functionhttps://bugs.dragonflybsd.org/issues/702?journal_id=30002007-06-15T18:25:01Zjoerg
<ul></ul><p>OK, let's be precise. The relevant standard here is the Single Unix<br />Specification. SUS v2 mentions only _exit and that is what is more<br />widely implemented. _Exit exists as well for C99, but it is irrelevant<br />to mention as the POSIX standard has already _exit and that should be<br />used in portable code instead.</p>
<p>Joerg</p> DragonFlyBSD - Bug #702: _Exit() functionhttps://bugs.dragonflybsd.org/issues/702?journal_id=30012007-06-15T19:03:00Zswildner
<ul></ul><p>Hmm, I disagree.</p>
<p>The manual pages are the system reference and therefore should neutrally <br />document the system, regardless of the feature's obscurity, <br />deprecatedness or non-portability (which can in turn be documented, of <br />course).</p>
<p>It might be irrelevant but the manual is not the place where this line <br />should be drawn. In the ideal world, all stuff would be added or removed <br />along with its documentation.</p>
<p>If it's in libc (as is the case with _Exit()), it certainly should be <br />mentioned in a manual page.</p>
<p>My 2ยข,<br />Sascha</p> DragonFlyBSD - Bug #702: _Exit() functionhttps://bugs.dragonflybsd.org/issues/702?journal_id=30042007-06-16T00:32:00Zdillon
<ul></ul><p>Did someone from Amigaland sneak into the standards committee room<br /> and brainwash the members?</p>
<pre><code>In anycase, it IS in our libc and it is in C99 so it should be<br /> documented. But maybe add a sentence saying it is somewhat new<br /> and _exit() is probably more portable then _Exit().</code></pre>
<pre><code>-Matt</code></pre>