www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/02/02/03:56:03

Date: Fri, 02 Feb 2001 10:54:55 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-Id: <2950-Fri02Feb2001105454+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6
CC: "Peter J. Farley III" <pjfarley AT banet DOT net>
In-reply-to: <5.0.2.1.0.20010201232409.027bc370@pop5.banet.net>
(pjfarley AT banet DOT net)
Subject: Re: Finished
References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010201232409 DOT 027bc370 AT pop5 DOT banet DOT net>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Thu, 01 Feb 2001 23:27:17 -0500
> From: "Peter J. Farley III" <pjfarley AT banet DOT net>
> 
> Oops!  I forgot to remove the reference to Borland C++ in the "lock64" 
> doc.  Here is a complete replacement for all four files with that 
> reference removed.

Thanks.

> +@subheading Syntax
> +
> +@example
> +#include <io.h>
> +
> +int _dos_lk64(int _fd, long long _offset, long long _length)
> +@end example

There should be a semi-colon at the end of the prototype.

Also, please don't use underscores in the function arguments in the
docs: they make it harder to read the text.

> +@subheading Description
> +Locks a region in file @var{fd} using MS-DOS file sharing interface.
> +The region of @var{length} bytes, starting from @var{offset}, will
> +become entirely inaccessible to other processes. If multiple locks
> +are used on a single file they must be non-overlapping. The lock
> +must be removed before the file is closed.

This fragment doesn't leave two spaces between sentences.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019