Oct-24-2019, 02:25 AM
i would like to open a file to write to "/dev/null", or the equivalent, in a portable way. is there something that can cut this short and not even do the low level write but still look like an open file to code that does a basic test (not trying to fool exhaustive code)?