2018-10-29 11:06:58 +08:00
|
|
|
/*
|
2021-03-08 18:19:04 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2018-10-29 11:06:58 +08:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|