summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore/ecore_main.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-09-14 14:26:28 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-09-14 14:26:28 +0000
commit1e533c27b299685ac1c54b645db5751ad702bf3d (patch)
tree82a2879ab06276ba2d141f096b4dfd3842a18bf6 /legacy/ecore/src/lib/ecore/ecore_main.c
parent80bfb5a55e4a4aa3458b2d965fad085861305047 (diff)
fix docs for ecore_main_fd_handler_del
SVN revision: 63388
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore_main.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore_main.c b/legacy/ecore/src/lib/ecore/ecore_main.c
index 73396054a2..59f0a5b428 100644
--- a/legacy/ecore/src/lib/ecore/ecore_main.c
+++ b/legacy/ecore/src/lib/ecore/ecore_main.c
@@ -1019,16 +1019,18 @@ ecore_main_win32_handler_add(void *h __UNUSED__, Ecore_Win32_Handle_Cb func __UN
1019 1019
1020 1020
1021/** 1021/**
1022 * Deletes the given FD handler. 1022 * Marks an FD handler for deletion.
1023 * @param fd_handler The given FD handler. 1023 * @param fd_handler The FD handler.
1024 * @return The data pointer set using @ref ecore_main_fd_handler_add, 1024 * @return The data pointer set using @ref ecore_main_fd_handler_add,
1025 * for @p fd_handler on success. @c NULL otherwise. 1025 * for @p fd_handler on success. @c NULL otherwise.
1026 * @ingroup Ecore_FD_Handler_Group 1026 * @ingroup Ecore_FD_Handler_Group
1027 * This function marks an fd handler to be deleted during an iteration of the main loop.
1028 * It does NOT close the associated fd!
1027 * 1029 *
1028 * Beware that if the fd is already closed, ecore may complain if it uses 1030 * @note If the underlying fd is already closed ecore may complain if the main loop
1029 * epoll internally, and that in some rare cases this may be able to cause 1031 * is using epoll internally, and also in some rare cases this may cause
1030 * crashes and instability. Remember to delete your fd handlers before the 1032 * crashes and instability. Remember to delete your fd handlers before the
1031 * fd's they listen to are closed. 1033 * fds they listen to are closed.
1032 */ 1034 */
1033EAPI void * 1035EAPI void *
1034ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler) 1036ecore_main_fd_handler_del(Ecore_Fd_Handler *fd_handler)