Having a huge brain cramp

What code covers the vent termination of bathroom vent pipe to the exterior and not terminating to the soffit, gable vent, ridge vents, ect? I can never find it when I look for it. When ever I am browsing, I see it everytime. I’m going to flag it this time!! Thanks for the help.

never mind-found it!