Add /dev/null compatibility function.