summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Antognolli <antognolli@gmail.com>2011-07-04 18:31:23 +0000
committerRafael Antognolli <antognolli@gmail.com>2011-07-04 18:31:23 +0000
commit923ee3f2b907edd37053a2d7b4575d021d77a165 (patch)
tree433296f872286198e138efa806a9da209ab41368
parent2440b258eda4410763f3f9d321ffd969c935b1d8 (diff)
ecore/fd_handler - Add detailed description to this group.
SVN revision: 61016
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index d2521ec6f1..f1e731f4f2 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -777,7 +777,21 @@ ecore_main_loop_select_func_get(void)
777 * 777 *
778 * Functions that deal with file descriptor handlers. 778 * Functions that deal with file descriptor handlers.
779 * 779 *
780 * Examples with functions that deal with file descriptor handlers: 780 * The @ref Ecore_Fd_Handler can be used to watch a file descriptor for data
781 * available for reading, for the availability to write without blocking, and
782 * for errors on the file descriptor.
783 *
784 * ecore_main_fd_handler_add() is used to setup a handler for a given file
785 * descriptor. This file descriptor can be the standard input, a network socket,
786 * a stream received through some driver of a hardware decoder, etc. Thus it can
787 * contain errors, like a disconnection, a broken pipe, and so, and that's why
788 * it's possible to check for these errors with the @ref ECORE_FD_ERROR flag.
789 *
790 * An @ref Ecore_Fd_Handler can be used to watch on a file descriptor without
791 * blocking, still being able to receive events, expire timers, and other watch
792 * for other things that happen in the Ecore main loop.
793 *
794 * Example of use of a file descriptor handler:
781 * @li @ref ecore_fd_handler_example_c 795 * @li @ref ecore_fd_handler_example_c
782 */ 796 */
783 797