Loading files
0cf0aa44aThis file is pinned to the selected release. Download the original to open it in your design tool.
/* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright (C) 2013 Intel Corporation
*
*/
#include <poll.h>
/* Function to be called when there are event for some descriptor */
typedef void (*poll_handler)(struct pollfd *pollfd);
int poll_register_fd(int fd, short events, poll_handler ph);
int poll_unregister_fd(int fd, poll_handler ph);
void poll_dispatch_loop(void);