⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 poll.h

📁 开放源码的编译器open watcom 1.6.0版的源代码
💻 H
字号:
#ifndef __POLL_H
#define __POLL_H

#ifdef __DJGPP__
#include <sys/config.h>  /* might have HAVE_SYS_POLL_H */
#endif

#ifdef HAVE_SYS_POLL_H   /* have .h-file and implementation */
  #include <sys/poll.h>

#else
  #define POLLIN   0x0001
  #define POLLPRI  0x0002   /* not used */
  #define POLLOUT  0x0004
  #define POLLERR  0x0008

  struct pollfd {
         int fd;
         int events;     /* in param: what to poll for */
         int revents;    /* out param: what events occured */
       };

#endif /* HAVE_SYS_POLL_H */

#endif /* __POLL_H */

⌨️ 快捷键说明

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