diff --git a/include/sys/syscall_lookup.h b/include/sys/syscall_lookup.h index 8b00149265..7a2bae294b 100644 --- a/include/sys/syscall_lookup.h +++ b/include/sys/syscall_lookup.h @@ -371,6 +371,7 @@ SYSCALL_LOOKUP(futimens, 2) SYSCALL_LOOKUP(sendmsg, 3) SYSCALL_LOOKUP(setsockopt, 5) SYSCALL_LOOKUP(socket, 3) + SYSCALL_LOOKUP(socketpair, 4) #endif /* The following is defined only if CONFIG_TASK_NAME_SIZE > 0 */ diff --git a/syscall/syscall.csv b/syscall/syscall.csv index 34a31ab84d..ef98dab1cc 100644 --- a/syscall/syscall.csv +++ b/syscall/syscall.csv @@ -164,6 +164,7 @@ "sigtimedwait","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *","FAR const struct timespec *" "sigwaitinfo","signal.h","","int","FAR const sigset_t *","FAR struct siginfo *" "socket","sys/socket.h","defined(CONFIG_NET)","int","int","int","int" +"socketpair","sys/socket.h","defined(CONFIG_NET)","int","int","int","int","int *" "stat","sys/stat.h","","int","FAR const char *","FAR struct stat *" "statfs","sys/statfs.h","","int","FAR const char *","FAR struct statfs *" "symlink","unistd.h","defined(CONFIG_PSEUDOFS_SOFTLINKS)","int","FAR const char *","FAR const char *"