summaryrefslogtreecommitdiff
path: root/nuttx/syscall
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/syscall')
-rw-r--r--nuttx/syscall/stub_lookup.h4
-rw-r--r--nuttx/syscall/syscall.csv1
2 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/syscall/stub_lookup.h b/nuttx/syscall/stub_lookup.h
index 4f75c1696..9b4a92814 100644
--- a/nuttx/syscall/stub_lookup.h
+++ b/nuttx/syscall/stub_lookup.h
@@ -76,6 +76,10 @@ STUB_LOOKUP(3, STUB_up_assert_code) /* SYS_up_assert_code */
STUB_LOOKUP(1, STUB_atexit) /* SYS_atexit */
#endif
+#ifdef CONFIG_SCHED_ONEXIT
+ STUB_LOOKUP(2, STUB_onexit) /* SYS_onexit */
+#endif
+
#ifdef CONFIG_SCHED_WAITPID
STUB_LOOKUP(3, STUB_waitpid) /* SYS_waitpid */
#endif
diff --git a/nuttx/syscall/syscall.csv b/nuttx/syscall/syscall.csv
index b323eb95f..22b45df9d 100644
--- a/nuttx/syscall/syscall.csv
+++ b/nuttx/syscall/syscall.csv
@@ -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*"