Some fixes to the man pages for [at_]quick_exit(3)

Reviewed by:    pluknet
Approved by:    dim (mentor)
This commit is contained in:
theraven 2011-12-07 21:02:35 +00:00
parent f5c1ef3ab8
commit 6dd477b894
2 changed files with 17 additions and 12 deletions

@ -23,13 +23,13 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" / .\"
.Dd December 7, 2011o.Dt ATEXIT 3 .Dd December 7, 2011
.Dt AT_QUICK_EXIT 3 .Dt AT_QUICK_EXIT 3
.Os .Os
.Sh NAME .Sh NAME
.Nm at_quick_exit .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 .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
@ -48,10 +48,13 @@ the program exits by calling
.Xr _Exit 3 , .Xr _Exit 3 ,
or or
.Xr abort 3 . .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 .Sh SEE ALSO
.Xr exit 3 , .Xr exit 3 ,
.Xr at_quick_exit 3 .Xr quick_exit 3
.Sh STANDARDS .Sh STANDARDS
The The
.Fn at_quick_exit .Fn at_quick_exit

@ -23,13 +23,13 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" / .\"
.Dd December 7, 2011o.Dt ATEXIT 3 .Dd December 7, 2011
.Dt QUICK_EXIT 3 .Dt QUICK_EXIT 3
.Os .Os
.Sh NAME .Sh NAME
.Nm quick_exit .Nm quick_exit
.Nd Exits a program quickly, running minimal cleanup .Nd exits a program quickly, running minimal cleanup
.Sh LIBRARY .Sh LIBRARY
.Lb libc .Lb libc
.Sh SYNOPSIS .Sh SYNOPSIS
@ -44,12 +44,14 @@ with
.Xr at_quick_exit 3 .Xr at_quick_exit 3
but not any C++ destructors or cleanup code registered with but not any C++ destructors or cleanup code registered with
.Xr atexit 3 . .Xr atexit 3 .
.El .Sh RETURN VALUES
The
.Fn quick_exit
function does not return.
.Sh SEE ALSO .Sh SEE ALSO
.Xr exit 3 , .Xr at_quick_exit 3 ,
.Xr at_quick_exit 3 .Xr exit 3
.Sh STANDARDS .Sh STANDARDS
The The
.Fn quick_exit .Fn quick_exit
function conforms to the C1x draft specification. function conforms to the C1x draft specification.