Subj : massive confusion on file locks To : Digital Man From : candycane Date : Thu Aug 10 2023 14:36:35 Re: massive confusion on file locks By: Digital Man to candycane on Thu Aug 10 2023 09:30 am DM> If you want to lock an *entire* file, use flock(). If you want to lock DM> just a *region* of a file, use fcntl(). So, whats the difference between LOCK_EX and SH? and does trying to obtain a lock already held suspend the program? candycane === user is generated from /dev/urandom ....Fifty-eight per cent of all cars coming into Britain are imported. --- þ Synchronet þ -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=- * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .