mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 22:11:19 +08:00
Use poll() from FreeBSD
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#define _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/poll.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/sysctl.h>
|
||||
@@ -70,6 +71,8 @@ int getsockopt(int, int, int, void * __restrict, socklen_t * __restrict);
|
||||
|
||||
int listen(int, int);
|
||||
|
||||
int poll(struct pollfd _pfd[], nfds_t _nfds, int _timeout);
|
||||
|
||||
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
|
||||
|
||||
ssize_t recvmsg(int, struct msghdr *, int);
|
||||
|
Reference in New Issue
Block a user