Python Forum

Full Version: opening /dev/null
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
is it true that when opening /dev/null for read, write, or append, it doesn't really do any syscalls, but just changes some function reference around so it totally fakes all the dummy I/O for a performance boost?
Could you verify that using strace (assuming Linux)?
you don't really know.