solarisaio: aiowait() can return (void *) -1 for error