Let x0∈ℝd; we study the Hölder regularity at x0 of a generic function of the Sobolev space Lp,s(ℝd) and of the Besov space Bps,q(ℝd) for s−d/p>0. The setting for genericity is supplied here by HP-residual sets.