mirror of
				https://gitee.com/jiuyilian/embedded-framework.git
				synced 2025-10-24 18:20:15 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			413 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			413 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "iowatcher.h"
 | 
						|
 | 
						|
#ifdef EVENT_NOEVENT
 | 
						|
int iowatcher_init(hloop_t* loop) {
 | 
						|
    return 0;
 | 
						|
}
 | 
						|
 | 
						|
int iowatcher_cleanup(hloop_t* loop) {
 | 
						|
    return 0;
 | 
						|
}
 | 
						|
 | 
						|
int iowatcher_add_event(hloop_t* loop, int fd, int events) {
 | 
						|
    return 0;
 | 
						|
}
 | 
						|
 | 
						|
int iowatcher_del_event(hloop_t* loop, int fd, int events) {
 | 
						|
    return 0;
 | 
						|
}
 | 
						|
 | 
						|
int iowatcher_poll_events(hloop_t* loop, int timeout) {
 | 
						|
    hv_delay(timeout);
 | 
						|
    return 0;
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |