mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-16 16:57:59 +08:00
Import socket() implementation from FreeBSD
Add new test syscalls01.
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/select.h>
|
||||
#include <sys/socket.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
@@ -54,6 +55,8 @@ int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
|
||||
|
||||
int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
|
||||
|
||||
int socket(int, int, int);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_SYSCALL_API_H_ */
|
||||
|
Reference in New Issue
Block a user