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

su_wait: function to get fd easily

darcs-hash:20060113034931-1b897-986bc453b7d30346f273c3b7ece891769ba67f79.gz
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)
__attribute__((__malloc__));
......
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