Totally continuous functions