pub fn init() -> Result<()>
initialize the signal handler for SIGIO
must be called before doing any file operations using this crate