A snifting valve (sometimes snifter valve) is an automatic anti-vacuum valve used in a steam locomotive when coasting. The word Snift imitates the sound made by the valve.