Commit 180242e9 authored by Martti Mela's avatar Martti Mela
Browse files

su_wait: function to get fd easily

parent 670f9c2c
......@@ -338,6 +338,12 @@ int su_wait(su_wait_t waits[], unsigned n, su_duration_t timeout);
int su_wait_events(su_wait_t *wait, su_socket_t s);
int su_wait_mask(su_wait_t *dst, su_socket_t s, int events);
static inline
su_socket_t su_wait_socket(su_wait_t *wait)
return wait->fd;
/* Root */
su_root_t *su_root_create(su_root_magic_t *magic)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment