simplify osx_write_pre_select()