fix up prototypes; let sysdep stuff make device non-blocking