opening /dev/null - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: opening /dev/null (/thread-23656.html) |
opening /dev/null - Skaperen - Jan-10-2020 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? RE: opening /dev/null - ndc85430 - Jan-10-2020 Could you verify that using strace (assuming Linux)?
RE: opening /dev/null - Skaperen - Jan-11-2020 you don't really know. |