diff options
Diffstat (limited to 'src/lib/libc/stdlib/abort.3')
-rw-r--r-- | src/lib/libc/stdlib/abort.3 | 15 |
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 |
49 | is being caught and the signal handler does not return. | 49 | is being caught and the signal handler does not return. |
50 | .Pp | 50 | .Pp |
51 | Any open streams are flushed and closed. | 51 | Some implementations may flush output streams before terminating. |
52 | This implementation does not. | ||
52 | .Sh RETURN VALUES | 53 | .Sh RETURN VALUES |
53 | The | 54 | The |
54 | .Fn abort | 55 | .Fn abort |
@@ -66,3 +67,11 @@ The | |||
66 | .Fn abort | 67 | .Fn abort |
67 | function first appeared in | 68 | function first appeared in |
68 | .At v5 . | 69 | .At v5 . |
70 | .Pp | ||
71 | Historically, previous standards required | ||
72 | .Fn abort | ||
73 | to flush and close output streams, but this conflicted with the requirement | ||
74 | that | ||
75 | .Fn abort | ||
76 | be async signal safe. | ||
77 | As a result, the flushing requirement was dropped. | ||