?? select.h
字號:
/* $Id: select.h,v 1.10.6.1 2005/05/01 21:15:32 jonas Exp $ */#ifndef EL__LOWLEVEL_SELECT_H#define EL__LOWLEVEL_SELECT_H#include "util/lists.h"#include "util/ttime.h"extern struct list_head bottom_halves;long select_info(int);void select_loop(void (*)(void));int register_bottom_half(void (*)(void *), void *);void do_check_bottom_halves(void);#define check_bottom_halves() do { if (!list_empty(bottom_halves)) do_check_bottom_halves(); } while (0)int install_timer(ttime, void (*)(void *), void *);void kill_timer(int);#define H_READ 0#define H_WRITE 1#define H_ERROR 2#define H_DATA 3void *get_handler(int, int);void set_handlers(int, void (*)(void *), void (*)(void *), void (*)(void *), void *);#define clear_handlers(fd) set_handlers(fd, NULL, NULL, NULL, NULL)int can_read(int fd);int can_write(int fd);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -