mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
sched/signal and syscall/: Add support for pselect() and ppoll() functions
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
#include <nuttx/compiler.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <signal.h>
|
||||
#include <semaphore.h>
|
||||
|
||||
/****************************************************************************
|
||||
@@ -153,6 +154,10 @@ extern "C"
|
||||
|
||||
int poll(FAR struct pollfd *fds, nfds_t nfds, int timeout);
|
||||
|
||||
int ppoll(FAR struct pollfd *fds, nfds_t nfds,
|
||||
FAR const struct timespec *timeout_ts,
|
||||
FAR const sigset_t *sigmask);
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user