OLD | NEW |
1 #ifndef _SYS_SELECT_H | 1 #ifndef _SYS_SELECT_H |
2 #define _SYS_SELECT_H 1 | 2 #define _SYS_SELECT_H 1 |
3 | 3 |
4 #include <sys/cdefs.h> | 4 #include <sys/cdefs.h> |
5 #include <sys/time.h> | 5 #include <sys/time.h> |
6 #include <sys/types.h> | 6 #include <sys/types.h> |
7 #include <time.h> | 7 #include <time.h> |
8 | 8 |
9 #include "sdk_util/macros.h" | 9 __BEGIN_DECLS |
10 | |
11 EXTERN_C_BEGIN | |
12 | 10 |
13 int select (int __nfds, fd_set *__restrict __readfds, | 11 int select (int __nfds, fd_set *__restrict __readfds, |
14 fd_set *__restrict __writefds, | 12 fd_set *__restrict __writefds, |
15 fd_set *__restrict __exceptfds, | 13 fd_set *__restrict __exceptfds, |
16 struct timeval *__restrict __timeout) __THROW; | 14 struct timeval *__restrict __timeout) __THROW; |
17 | 15 |
18 EXTERN_C_END | 16 __END_DECLS |
19 | 17 |
20 #endif /* sys/select.h */ | 18 #endif /* sys/select.h */ |
OLD | NEW |