diff options
author | Earnie Boyd <earnie@users.sf.net> | 2002-01-25 23:03:56 +0300 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2002-01-25 23:03:56 +0300 |
commit | be4ee22bbc3fc6e89a3602d125265f62ba61f375 (patch) | |
tree | 90db3c83f135eb7aebd334fab64c90c303fc4ea0 /winsup/mingw/include/stdlib.h | |
parent | d4b5d8fda2d99ca39ee147bff592c0f84a0249d5 (diff) |
Merge MinGW changes
Diffstat (limited to 'winsup/mingw/include/stdlib.h')
-rw-r--r-- | winsup/mingw/include/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/mingw/include/stdlib.h b/winsup/mingw/include/stdlib.h index 5be239bbd..153e6483c 100644 --- a/winsup/mingw/include/stdlib.h +++ b/winsup/mingw/include/stdlib.h @@ -349,6 +349,10 @@ void _sleep (unsigned long); void _exit (int) _ATTRIB_NORETURN; +/* _onexit is MS extension. Use atexit for portability. */ +typedef int (* _onexit_t)(void); +_onexit_t _onexit( _onexit_t ); + int _putenv (const char*); void _searchenv (const char*, const char*, char*); |