parent
86d36b4563
commit
6a586399c2
|
@ -110,16 +110,17 @@ ecore_main_loop_quit(void)
|
||||||
*
|
*
|
||||||
* Normally the return value from the @p func is "zero means this handler is
|
* Normally the return value from the @p func is "zero means this handler is
|
||||||
* finished and can be deleted" as is usual for handler callbacks. However,
|
* finished and can be deleted" as is usual for handler callbacks. However,
|
||||||
* if the @p buf_func is supplied, then the return value from the @p func is "non
|
* if the @p buf_func is supplied, then the return value from the @p func is
|
||||||
* zero means the handler should be called again in a tight loop".
|
* "non zero means the handler should be called again in a tight loop".
|
||||||
*
|
*
|
||||||
* @p buf_func is called during event loop handling to check if data that has
|
* @p buf_func is called during event loop handling to check if data that has
|
||||||
* been read from the file descriptor is in a buffer and is available to
|
* been read from the file descriptor is in a buffer and is available to
|
||||||
* read. Some systems (notably xlib) handle their own buffering, and would
|
* read. Some systems (notably xlib) handle their own buffering, and would
|
||||||
* otherwise not work with select(). These systems should use a @p buf_func.
|
* otherwise not work with select(). These systems should use a @p buf_func.
|
||||||
* This is a most annoying hack, only ecore_x uses it, so refer to that for
|
* This is a most annoying hack, only ecore_x uses it, so refer to that for
|
||||||
* an example. NOTE - @p func should probably return "one" always if @p buf_func
|
* an example. NOTE - @p func should probably return "one" always if
|
||||||
* is used, to avoid confusion with the other return walue semantics.
|
* @p buf_func is used, to avoid confusion with the other return value
|
||||||
|
* semantics.
|
||||||
*
|
*
|
||||||
* @param fd The file descriptor to watch.
|
* @param fd The file descriptor to watch.
|
||||||
* @param flags To watch it for read (@c ECORE_FD_READ) and/or
|
* @param flags To watch it for read (@c ECORE_FD_READ) and/or
|
||||||
|
|
Loading…
Reference in New Issue