A characterization of Ck,1 functions