flags -> f_flags