Module Name: src Committed By: christos Date: Fri Apr 26 18:07:43 UTC 2013
Modified Files: src/include: stdlib.h Log Message: add at_quick_exit and quick_exit To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/include/stdlib.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/include/stdlib.h diff -u src/include/stdlib.h:1.105 src/include/stdlib.h:1.106 --- src/include/stdlib.h:1.105 Fri Apr 26 13:36:24 2013 +++ src/include/stdlib.h Fri Apr 26 14:07:43 2013 @@ -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 @@ float strtof(const char * __restrict, c 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) */