2018-10-29 11:06:58 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
*/
|
|
|
|
|
2017-10-17 22:27:06 +08:00
|
|
|
#ifndef DFS_SELECT_H__
|
|
|
|
#define DFS_SELECT_H__
|
|
|
|
|
2017-10-31 09:52:49 +08:00
|
|
|
#include <libc/libc_fdset.h>
|
2017-10-17 22:27:06 +08:00
|
|
|
|
2017-10-31 09:52:49 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2017-10-17 22:27:06 +08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
|
|
|
|
|
2017-10-31 09:52:49 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2017-10-17 22:27:06 +08:00
|
|
|
|
|
|
|
#endif
|
2017-10-31 09:52:49 +08:00
|
|
|
|