How to open a file read-only?

Josh Guilfoyle jasta at
Mon Apr 28 00:57:48 CEST 2008

When using TagLib to open files it seems to always try to open as 
read/write capable.  Is there any way to specify explicitly that I want 
the file opened read-only so that inotify CLOSE_WRITE events will not be 
triggered when I know that no edits will be performed?

More information about the taglib-devel mailing list