summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/abort.3
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libc/stdlib/abort.3')
-rw-r--r--src/lib/libc/stdlib/abort.315
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/abort.3 b/src/lib/libc/stdlib/abort.3
index 322d629930..2f15cd827c 100644
--- a/src/lib/libc/stdlib/abort.3
+++ b/src/lib/libc/stdlib/abort.3
@@ -29,9 +29,9 @@
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE. 30.\" SUCH DAMAGE.
31.\" 31.\"
32.\" $OpenBSD: abort.3,v 1.10 2013/07/17 05:42:11 schwarze Exp $ 32.\" $OpenBSD: abort.3,v 1.11 2014/05/14 21:54:20 tedu Exp $
33.\" 33.\"
34.Dd $Mdocdate: July 17 2013 $ 34.Dd $Mdocdate: May 14 2014 $
35.Dt ABORT 3 35.Dt ABORT 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -48,7 +48,8 @@ function causes abnormal program termination to occur, unless the signal
48.Dv SIGABRT 48.Dv SIGABRT
49is being caught and the signal handler does not return. 49is being caught and the signal handler does not return.
50.Pp 50.Pp
51Any open streams are flushed and closed. 51Some implementations may flush output streams before terminating.
52This implementation does not.
52.Sh RETURN VALUES 53.Sh RETURN VALUES
53The 54The
54.Fn abort 55.Fn abort
@@ -66,3 +67,11 @@ The
66.Fn abort 67.Fn abort
67function first appeared in 68function first appeared in
68.At v5 . 69.At v5 .
70.Pp
71Historically, previous standards required
72.Fn abort
73to flush and close output streams, but this conflicted with the requirement
74that
75.Fn abort
76be async signal safe.
77As a result, the flushing requirement was dropped.