How to open a device for exclusive access?

Ben Scott dragonhawk at gmail.com
Mon Jul 16 01:58:29 EDT 2007


On 7/15/07, Steven W. Orr <steveo at syslang.net> wrote:
> ... my particular problem would be
> solved if the char device I was trying to open would only honor O_EXCL.

  My C is somewhat rusty, but doesn't O_EXCL just prevent one from
creating/opening the file if it already exists?

-- Ben


More information about the gnhlug-discuss mailing list