Clarify that atexit/on_exit are not called because those are called only on normal process termination (as documented on their respective manual pages). Cc: "G. Branden Robinson" <g.branden.robinson@xxxxxxxxx> Cc: Stefan Puiu <stefan.puiu@xxxxxxxxx> Signed-off-by: Tomáš Golembiovský <tgolembi@xxxxxxxxxx> --- v5 changes: * split .BR items to separate lines as sugested by G. Branden Robinson * changed "abort" to "abort.3" in commit message title man3/abort.3 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man3/abort.3 b/man3/abort.3 index c63eace5e..3e1fbbbf5 100644 --- a/man3/abort.3 +++ b/man3/abort.3 @@ -47,6 +47,12 @@ function will still terminate the process. It does this by restoring the default disposition for .B SIGABRT and then raising the signal for a second time. +.PP +As with other cases of abnormal termination the functions registered with +.BR atexit (3) +and +.BR on_exit (3) +are not called. .SH RETURN VALUE The .BR abort () -- 2.41.0