January 19, 2007

I am looking at using D for an application I am writing. For this application I need to be able to do mandatory file locking (I am using fcntl() in the C version). I have had a quick look at the documents in the D library but can find no way to do it apart from calling C. Is fcntl() implemented or is there some other way to do mandatory locking in D?

Thanks for any help