Add blam_writev implementation