A characterization of the real zeros of a particular transcendental function