what does O_EXCL open flag do?

martin at clubmed.hf.intel.com.ogc.edu martin at clubmed.hf.intel.com.ogc.edu
Sat Dec 30 03:38:33 AEST 1989


Does anyone know what the O_EXCL flag for the open call is
supposed to do?  I have read the POSIX spec, but I don't quite
understand what the flag is for.  The only thing that
the POSIX spec says is that if O_EXCL and O_CREAT are set, open()
shall fail if the file exists.  What if just O_EXCL is set?

You can mail to me directly or post a followup...

Thanks...

                          
                  _/_          |
 ______  __.  __  /  o ____    |  textronix!reed!littlei!zeus:martin
/ / / <_(_/|_/ (_<__<_/ / <    |
                               |  martin at clubmed.hf.intel.com
                               |



More information about the Comp.unix.wizards mailing list