summaryrefslogblamecommitdiffstats
path: root/epoll.h
blob: e3e5dd0726e0e9431b168e36d9c096d4b6cb6011 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                      
#ifndef _EPOLL_H_
#define _EPOLL_H_

#include "types.h"
#include <sys/epoll.h>

int ePoll_init();

int ePoll_wait(const int timeoutMs);

int ePoll_add(uint32_t flags, epoll_item_t* callback);

int ePoll_remove(int fd);

#endif