summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorbjh21 <bjh21@NetBSD.org>2003-03-01 15:59:02 +0000
committerbjh21 <bjh21@NetBSD.org>2003-03-01 15:59:02 +0000
commit22ebd2b34bfb418c3c690527c5da9d6e6178cbed (patch)
treed18991cd8e3c0f34f107711871322efbaf529527 /include/stdlib.h
parenta3248903e4dde4c1c4c135c6cc98067d1105f3c4 (diff)
Add _Exit(), for C99 and POSIX-2001.
Proposed on tech-userlevel to a resounding silence in April last year.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 0f4f7430c70..f62541aead5 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdlib.h,v 1.57 2002/11/29 12:58:14 lukem Exp $ */
+/* $NetBSD: stdlib.h,v 1.58 2003/03/01 15:59:02 bjh21 Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -99,6 +99,7 @@ extern size_t __mb_cur_max;
#define MB_CUR_MAX __mb_cur_max
__BEGIN_DECLS
+__dead void _Exit __P((int)) __attribute__((__noreturn__));
__dead void abort __P((void)) __attribute__((__noreturn__));
__pure int abs __P((int));
int atexit __P((void (*)(void)));