Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152936175
D54467.id174636.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D54467.id174636.diff
View Options
diff --git a/lib/libc/stdlib/atexit.3 b/lib/libc/stdlib/atexit.3
--- a/lib/libc/stdlib/atexit.3
+++ b/lib/libc/stdlib/atexit.3
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 6, 2002
+.Dd March 31, 2026
.Dt ATEXIT 3
.Os
.Sh NAME
@@ -90,6 +90,7 @@
implementation.
.El
.Sh SEE ALSO
+.Xr _exit 2 ,
.Xr at_quick_exit 3 ,
.Xr exit 3
.Sh STANDARDS
diff --git a/lib/libsys/_exit.2 b/lib/libsys/_exit.2
--- a/lib/libsys/_exit.2
+++ b/lib/libsys/_exit.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd September 8, 2016
+.Dd March 31, 2026
.Dt EXIT 2
.Os
.Sh NAME
@@ -95,9 +95,9 @@
.Pp
Most C programs call the library routine
.Xr exit 3 ,
-which flushes buffers, closes streams, unlinks temporary files, etc.,
-before
-calling
+which flushes buffers, closes streams, unlinks temporary files, invokes
+.Xr atexit 3
+handlers, etc., before calling
.Fn _exit .
.Sh RETURN VALUES
The
@@ -108,6 +108,7 @@
.Xr fork 2 ,
.Xr sigaction 2 ,
.Xr wait 2 ,
+.Xr atexit 3 ,
.Xr exit 3 ,
.Xr init 8
.Sh STANDARDS
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 4:40 AM (18 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31744514
Default Alt Text
D54467.id174636.diff (1 KB)
Attached To
Mode
D54467: _exit.2: Cross-reference atexit(3)
Attached
Detach File
Event Timeline
Log In to Comment