Logo Search packages:      
Sourcecode: avahi version File versions

int avahi_simple_poll_loop ( AvahiSimplePoll s  ) 

Call avahi_simple_poll_iterate() in a loop and return if it returns non-zero

Definition at line 632 of file simple-watch.c.

                                               {
    int r;

    assert(s);
    
    for (;;)
        if ((r = avahi_simple_poll_iterate(s, -1)) != 0)
            if (r >= 0 || errno != EINTR)
                return r;
}


Generated by  Doxygen 1.6.0   Back to index