Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib From Timo Buhrmester: Fix wrong parameter de...



details:   https://anonhg.NetBSD.org/src/rev/ac63278f1014
branches:  trunk
changeset: 339521:ac63278f1014
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 26 17:03:06 2015 +0000

description:
>From Timo Buhrmester: Fix wrong parameter description

diffstat:

 lib/libc/stdlib/quick_exit.3 |  15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r f69f2b184ead -r ac63278f1014 lib/libc/stdlib/quick_exit.3
--- a/lib/libc/stdlib/quick_exit.3      Sun Jul 26 17:00:37 2015 +0000
+++ b/lib/libc/stdlib/quick_exit.3      Sun Jul 26 17:03:06 2015 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index