simplify osx_write_post_select()