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

📄 poll_.h

📁 一种新的httpd放方式
💻 H
字号:
/*
port/sys/poll_.h

Copyright (C) 1999 Lars Brinkhoff.  See COPYING for terms and conditions.
*/

#ifndef PORT_SYS_POLL_H
#define PORT_SYS_POLL_H

#include "config.h"

#ifdef HAVE_SYS_POLL_H
#  include <sys/poll.h>
#else

#define POLLIN		0x01
#define POLLOUT		0x02
#define POLLERR		0x10
#define POLLHUP		0x20
#define POLLNVAL	0x40

struct pollfd
{
  int fd;
  int events;
  int revents;
};

extern int poll (struct pollfd *p, int n, int timeout);

#endif /* !HAVE_SYS_POLL_H */

#endif /* PORT_SYS_POLL_H */

⌨️ 快捷键说明

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