Source-Changes-HG archive

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

[src/trunk]: src/include add at_quick_exit and quick_exit



details:   https://anonhg.NetBSD.org/src/rev/534c3986491f
branches:  trunk
changeset: 786329:534c3986491f
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 26 18:07:43 2013 +0000

description:
add at_quick_exit and quick_exit

diffstat:

 include/stdlib.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 27210d389845 -r 534c3986491f include/stdlib.h
--- a/include/stdlib.h  Fri Apr 26 17:41:34 2013 +0000
+++ b/include/stdlib.h  Fri Apr 26 18:07:43 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdlib.h,v 1.105 2013/04/26 17:36:24 joerg Exp $       */
+/*     $NetBSD: stdlib.h,v 1.106 2013/04/26 18:07:43 christos Exp $    */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -224,6 +224,12 @@
 long double    strtold(const char * __restrict, char ** __restrict);
 #endif
 
+#if defined(_ISOC11_SOURCE) || (__STDC_VERSION__ - 0) >= 201101L || \
+    defined(_NETBSD_SOURCE) || (__cplusplus - 0) >= 201103L
+int    at_quick_exit(void (*)(void));
+__dead void quick_exit(int);
+#endif
+
 /*
  * The Open Group Base Specifications, Issue 6; IEEE Std 1003.1-2001 (POSIX)
  */



Home | Main Index | Thread Index | Old Index