atexit() and on_exit() may now be configured to support multiple exit callbacks

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4995 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-08-01 17:47:54 +00:00
parent 50dd2866eb
commit 56580875ab
13 changed files with 617 additions and 120 deletions
+1
View File
@@ -36,6 +36,7 @@
"mq_timedreceive","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","ssize_t","mqd_t","void*","size_t","int*","const struct timespec*"
"mq_timedsend","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","mqd_t","const char*","size_t","int","const struct timespec*"
"mq_unlink","mqueue.h","!defined(CONFIG_DISABLE_MQUEUE)","int","const char*"
"on_exit","stdlib.h","defined(CONFIG_SCHED_ONEXIT)","int","CODE void (*func)(int, FAR void *)","FAR void *"
"open","fcntl.h","CONFIG_NFILE_DESCRIPTORS > 0","int","const char*","int","..."
"opendir","dirent.h","CONFIG_NFILE_DESCRIPTORS > 0","FAR DIR*","FAR const char*"
"pipe","unistd.h","CONFIG_NFILE_DESCRIPTORS > 0","int","int [2]|int*"
1 _exit unistd.h void int
36 mq_timedreceive mqueue.h !defined(CONFIG_DISABLE_MQUEUE) ssize_t mqd_t
37 mq_timedsend mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int mqd_t
38 mq_unlink mqueue.h !defined(CONFIG_DISABLE_MQUEUE) int const char*
39 on_exit stdlib.h defined(CONFIG_SCHED_ONEXIT) int CODE void (*func)(int, FAR void *)
40 open fcntl.h CONFIG_NFILE_DESCRIPTORS > 0 int const char*
41 opendir dirent.h CONFIG_NFILE_DESCRIPTORS > 0 FAR DIR* FAR const char*
42 pipe unistd.h CONFIG_NFILE_DESCRIPTORS > 0 int int [2]|int*