Suppose I have a function $g \geq 0$ defined by $$g(x) = \int_{-\infty}^{x}f(t)\text{ d}t \geq 0\text{, }x \in \mathbb{R}\text{. }$$
I know for a fact that $g$ is continuous and nondecreasing.
Is this enough to show that $f \geq 0$? If so, I'm not sure how to prove it.
[For those of you familiar with probability, this is trying to show that every PDF $f$ is $\geq 0$ using the necessary and sufficient conditions of the CDF $g$.]
If $f$ is continuous, this is easy. (Use Fundamental Theorem of Calculus, take the derivative, $g$ is nondecreasing, done.)
What if $f$ isn't continuous? I'm stuck.
Edit: As clarified in the comments, I believe that I want to prove that $f \geq 0$ almost surely. However, I am not at all familiar with measure theory besides knowing what a $\sigma$-algebra and measure are (by definition).