Re: file exists



O.K - found.
"Gianni Mariani" <gi3nospam@xxxxxxxxxx> wrote in message
news:465c9a09$0$17985$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Mr. X. wrote:
O.K.
If I want to create a file only if the file doesn't exist -
How can I do it on direct access functions (not buffered I/O),
and with minimal functions ?

It's in the man page. O_EXCL | O_CREAT


.