Import socket() implementation from FreeBSD

Add new test syscalls01.
This commit is contained in:
Sebastian Huber
2013-10-10 11:29:33 +02:00
parent 69b29a0c0d
commit caf8eded60
9 changed files with 3452 additions and 38 deletions

View File

@@ -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_ */