aboutsummaryrefslogtreecommitdiff
path: root/manual/startup.texi
diff options
context:
space:
mode:
Diffstat (limited to 'manual/startup.texi')
-rw-r--r--manual/startup.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/manual/startup.texi b/manual/startup.texi
index 1d903b49d7..1c75d3cabd 100644
--- a/manual/startup.texi
+++ b/manual/startup.texi
@@ -776,6 +776,18 @@ execute cleanup functions registered with @code{atexit} or
@code{on_exit}.
@end deftypefun
+@comment stdlib.h
+@comment ISO
+@deftypefun void _Exit (int @var{status})
+The @code{_Exit} function is the @w{ISO C} equivalent to @code{_exit}.
+The @w{ISO C} committee members were not sure whether the definitions of
+@code{_exit} and @code{_Exit} were compatible so they have not used the
+POSIX name.
+
+This function was introduced in @w{ISO C9x} and is declared in
+@file{stdlib.h}.
+@end deftypefun
+
When a process terminates for any reason---either by an explicit
termination call, or termination as a result of a signal---the
following things happen: