Searched refs:watchFd (Results 1 – 1 of 1) sorted by relevance
921 CompWatchFd *watchFd; in compAddWatchFd() local923 watchFd = malloc (sizeof (CompWatchFd)); in compAddWatchFd()924 if (!watchFd) in compAddWatchFd()927 watchFd->fd = fd; in compAddWatchFd()928 watchFd->callBack = callBack; in compAddWatchFd()929 watchFd->closure = closure; in compAddWatchFd()930 watchFd->handle = core.lastWatchFdHandle++; in compAddWatchFd()935 watchFd->next = core.watchFds; in compAddWatchFd()936 core.watchFds = watchFd; in compAddWatchFd()946 return watchFd->handle; in compAddWatchFd()