summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/err.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/err.3')
-rw-r--r--lib/libc/gen/err.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/err.3 b/lib/libc/gen/err.3
index a80edeb..da260c9 100644
--- a/lib/libc/gen/err.3
+++ b/lib/libc/gen/err.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" From: @(#)err.3 8.1 (Berkeley) 6/9/93
-.\" $Id$
+.\" $Id: err.3,v 1.2 1995/04/13 18:04:05 wollman Exp $
.\"
.Dd April 13, 1995
.Dt ERR 3
@@ -107,7 +107,7 @@ functions do not return, but exit with the value of the argument
The
.Fn err_set_exit
function can be used to specify a function which is called before
-.Xr exit 2
+.Xr exit 3
to perform any necessary cleanup; passing a null function pointer for
.Va exitf
resets the hook to do nothing.
@@ -135,6 +135,7 @@ if ((fd = open(block_device, O_RDONLY, 0)) == -1)
err(1, "%s", block_device);
.Ed
.Sh SEE ALSO
+.Xr exit 3 ,
.Xr strerror 3
.Sh HISTORY
The
OpenPOWER on IntegriCloud