Date: Sun, 31 Oct 1999 09:58:26 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Galik cc: djgpp AT delorie DOT com Subject: Re: Record Locking (Portable?) In-Reply-To: <3819dca2.834915@news.valhalla.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 29 Oct 1999, Galik wrote: > Can anyone tell me how a good place to find info on > record locking under DOS and UNIX.Are there portable > library routines in DJGPP to achieve this between the two OSs? Unix systems have `flock' and `lockf'; DOS/Windows have either `lock' and `unlock' or `_dos_lock' and `_dos_unlock'. DJGPP doesn't provide `lockf' and `flock' currently, but you could easily implement them using `lock' and `unlock'.