diff options
Diffstat (limited to 'nuttx/syscall/syscall_lookup.h')
-rw-r--r-- | nuttx/syscall/syscall_lookup.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/syscall/syscall_lookup.h b/nuttx/syscall/syscall_lookup.h index ac4fd20f2..9b14f9115 100644 --- a/nuttx/syscall/syscall_lookup.h +++ b/nuttx/syscall/syscall_lookup.h @@ -200,6 +200,15 @@ SYSCALL_LOOKUP(up_assert, 2, STUB_up_assert) # endif #endif +/* Shared memory interfaces */ + +#ifdef CONFIG_MM_SHM + SYSCALL_LOOKUP(shmget, 3, STUB_shmget) + SYSCALL_LOOKUP(shmat, 3, STUB_shmat) + SYSCALL_LOOKUP(shmctl, 3, STUB_shmctl) + SYSCALL_LOOKUP(shmdt, 1, STUB_shmdt) +#endif + /* The following are defined if pthreads are enabled */ #ifndef CONFIG_DISABLE_PTHREAD |