void fltk_add_fd(int fd, int when, FdCallback cb, void * userdata)
Adds a file descriptor callback with event flags.