abort.3 (8aefde060768b2636e1e9a842692cec605960985) abort.3 (e348b8ea256bee3612ac9fda143982e42f18e13b)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 43 unchanged lines hidden (view full) ---

52The
53.Fn abort
54function causes abnormal program termination to occur, unless the
55signal
56.Dv SIGABRT
57is being caught and the signal handler does not return.
58.Pp
59Any open streams are flushed and closed.
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 43 unchanged lines hidden (view full) ---

52The
53.Fn abort
54function causes abnormal program termination to occur, unless the
55signal
56.Dv SIGABRT
57is being caught and the signal handler does not return.
58.Pp
59Any open streams are flushed and closed.
60.Sh IMPLEMENTATION NOTES
61The
62.Fn abort
63function is thread-safe.
64It is unknown if it is async-cancel-safe.
60.Sh RETURN VALUES
61The
62.Fn abort
63function
64never returns.
65.Sh SEE ALSO
66.Xr sigaction 2 ,
67.Xr exit 3
68.Sh STANDARDS
69The
70.Fn abort
71function
72conforms to
73.St -p1003.1-90 .
65.Sh RETURN VALUES
66The
67.Fn abort
68function
69never returns.
70.Sh SEE ALSO
71.Xr sigaction 2 ,
72.Xr exit 3
73.Sh STANDARDS
74The
75.Fn abort
76function
77conforms to
78.St -p1003.1-90 .
79The
80.Fn abort
81function also conforms to
82.St -isoC-99
83with the implementation specific details as noted above.