use crate::;
use mem;
/// Callback for using in the `set_callback` function.
pub type Callback = extern "C" fn ;
/// Registers a callback function to be called when data is available on a particular file descriptor.
/// Equivalent to calling `sd1(fd, cb)` in the C API.
/// Removes a callback registered on the specified file descriptor with the `register_callback` function