www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - File locking


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
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

Jan 19 2007