A unified approach to characterizations of the set of continuous or uniform real-valued functions, considered as Riesz spaces, l-groups and lattices, is given. In general, a categorical approach is used.