Module Name:    src
Committed By:   christos
Date:           Sun Jul 26 17:03:06 UTC 2015

Modified Files:
        src/lib/libc/stdlib: quick_exit.3

Log Message:
>From Timo Buhrmester: Fix wrong parameter description


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/stdlib/quick_exit.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdlib/quick_exit.3
diff -u src/lib/libc/stdlib/quick_exit.3:1.2 src/lib/libc/stdlib/quick_exit.3:1.3
--- src/lib/libc/stdlib/quick_exit.3:1.2	Fri Apr 26 15:36:47 2013
+++ src/lib/libc/stdlib/quick_exit.3	Sun Jul 26 13:03:06 2015
@@ -1,4 +1,4 @@
-.\"	$NetBSD: quick_exit.3,v 1.2 2013/04/26 19:36:47 wiz Exp $
+.\"	$NetBSD: quick_exit.3,v 1.3 2015/07/26 17:03:06 christos Exp $
 .\"  Copyright (c) 2011 David Chisnall
 .\"  All rights reserved.
 .\"
@@ -25,7 +25,7 @@
 .\"
 .\"  $FreeBSD: src/lib/libc/stdlib/quick_exit.3,v 1.4 2012/11/17 01:49:41 svnexp Exp $
 .\"
-.Dd April 26, 2013
+.Dd July 26, 2015
 .Dt QUICK_EXIT 3
 .Os
 .Sh NAME
@@ -36,7 +36,7 @@
 .Sh SYNOPSIS
 .In stdlib.h
 .Ft _Noreturn void
-.Fn quick_exit "void"
+.Fn quick_exit "int status"
 .Sh DESCRIPTION
 The
 .Fn quick_exit
@@ -45,6 +45,15 @@ with
 .Xr at_quick_exit 3
 but not any C++ destructors or cleanup code registered with
 .Xr atexit 3 .
+.Pp
+The
+.Fa status
+values
+.Dv EXIT_SUCCESS
+and
+.Dv EXIT_FAILURE
+can be used to indicate successful and unsuccessful
+termination, respectively.
 .Sh RETURN VALUES
 The
 .Fn quick_exit

Reply via email to