summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortheraven <theraven@FreeBSD.org>2011-12-07 21:02:35 +0000
committertheraven <theraven@FreeBSD.org>2011-12-07 21:02:35 +0000
commit6dd477b894442f73fdefb1839f590b35fc937b6c (patch)
tree39438ccf05f7f186a6494e5a42885b65141543da /lib
parentf5c1ef3ab81fc2455c38d7895de1f5bcc686fc2f (diff)
downloadFreeBSD-src-6dd477b894442f73fdefb1839f590b35fc937b6c.zip
FreeBSD-src-6dd477b894442f73fdefb1839f590b35fc937b6c.tar.gz
Some fixes to the man pages for [at_]quick_exit(3)
Reviewed by: pluknet Approved by: dim (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/stdlib/at_quick_exit.313
-rw-r--r--lib/libc/stdlib/quick_exit.316
2 files changed, 17 insertions, 12 deletions
diff --git a/lib/libc/stdlib/at_quick_exit.3 b/lib/libc/stdlib/at_quick_exit.3
index 241553f..7f98963 100644
--- a/lib/libc/stdlib/at_quick_exit.3
+++ b/lib/libc/stdlib/at_quick_exit.3
@@ -23,13 +23,13 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.\" /
-.Dd December 7, 2011o.Dt ATEXIT 3
+.\"
+.Dd December 7, 2011
.Dt AT_QUICK_EXIT 3
.Os
.Sh NAME
.Nm at_quick_exit
-.Nd Registers a cleanup function to run on quick exit.
+.Nd registers a cleanup function to run on quick exit
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
@@ -48,10 +48,13 @@ the program exits by calling
.Xr _Exit 3 ,
or
.Xr abort 3 .
-.El
+.Sh RETURN VALUES
+The
+.Fn at_quick_exit
+function returns the value 0 if successful and a non-zero value on failure.
.Sh SEE ALSO
.Xr exit 3 ,
-.Xr at_quick_exit 3
+.Xr quick_exit 3
.Sh STANDARDS
The
.Fn at_quick_exit
diff --git a/lib/libc/stdlib/quick_exit.3 b/lib/libc/stdlib/quick_exit.3
index e29112f..06fde8b 100644
--- a/lib/libc/stdlib/quick_exit.3
+++ b/lib/libc/stdlib/quick_exit.3
@@ -23,13 +23,13 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.\" /
-.Dd December 7, 2011o.Dt ATEXIT 3
+.\"
+.Dd December 7, 2011
.Dt QUICK_EXIT 3
.Os
.Sh NAME
.Nm quick_exit
-.Nd Exits a program quickly, running minimal cleanup
+.Nd exits a program quickly, running minimal cleanup
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
@@ -44,12 +44,14 @@ with
.Xr at_quick_exit 3
but not any C++ destructors or cleanup code registered with
.Xr atexit 3 .
-.El
+.Sh RETURN VALUES
+The
+.Fn quick_exit
+function does not return.
.Sh SEE ALSO
-.Xr exit 3 ,
-.Xr at_quick_exit 3
+.Xr at_quick_exit 3 ,
+.Xr exit 3
.Sh STANDARDS
The
.Fn quick_exit
function conforms to the C1x draft specification.
-
OpenPOWER on IntegriCloud