Hi all,
Can somebody explain what this statement does,
if ((tempFD = open(tempFileName, O_RDWR | O_CREAT | O_EXCL)) < 0)
If we knew for sure what version of what library you were using, some
might. But they shouldn't, since the experts for your platform or
implementation have newsgroups of their own. Unless your question is
about C as defined by the standard, no reliable substantive answers from
comp.lang.c should be expected. In your case, the function open() is
not defined as part of the standard C libaries (nor are O_RDWR, O_CREAT,
or O_EXCL). Questions about fopen(), a standard C function, we can
answer. It is most likely (although definitely not certain) that one of
the unix programming newsgroups is what you want.