Assume that $f:(a,b) \to R$ is a convex function. We know that $f$ is continuous, $f'$ exists except at most in a countably infinite set and $f'$ is increasing.
What about the viceversa? If $f$ is continuous, $f'$ exists except at most in a countably infinite set and $f'$ is increasing, then $f$ is convex?