Clarification of a comment in tevent.h

Richard Sharpe realrichardsharpe at gmail.com
Fri Jan 23 22:20:57 MST 2015


Hi folks,

I noticed this comment in lib/tevent/tevent.h just before the macro
for TEVENT_FD_WRITEABLE:

/**
 * Convenience function for declaring a tevent_fd writable
 */

This suggests that we are making the tevent_fd writable but the usage
suggests that we are marking the fd_event to say that we are now
interested in getting events when the FD becomes writable ...

Have I misunderstood this?

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)


More information about the samba-technical mailing list