Error encountered during compilation:
error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
Explanation:
Linux and *BSD mandate a third argument to open() when specifying O_CREAT or O_TMPFILE as a file creation flag. This third argument specifies the file access mode, in this case user read & write.
Error encountered during compilation: error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
Explanation: Linux and *BSD mandate a third argument to open() when specifying O_CREAT or O_TMPFILE as a file creation flag. This third argument specifies the file access mode, in this case user read & write.