ppoll.h

来自「这是Linux环境下的蓝牙源代码」· C头文件 代码 · 共 17 行

H
17
字号
#ifdef ppoll#undef ppoll#endif#define ppoll compat_ppollstatic inline int compat_ppoll(struct pollfd *fds, nfds_t nfds,		const struct timespec *timeout, const sigset_t *sigmask){	if (timeout == NULL)		return poll(fds, nfds, -1);	else if (timeout->tv_sec == 0)		return poll(fds, nfds, 500);	else		return poll(fds, nfds, timeout->tv_sec * 1000);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?