Mail Archives: djgpp-workers/2001/02/02/20:25:05
At 10:54 AM 2/2/01 +0200, Eli Zaretskii wrote:
<Snipped>
>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.
Well, I shamelessly copied the .txh files for _dos_lock and
_dos_unlock, so they would need to change as well.
>Also, please don't use underscores in the function arguments in the
>docs: they make it harder to read the text.
Ditto, copied straight from the non-64 versions.
>> +@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.
Ditto, copied verbatim from lock.txh.
Eli, Mark, do you want me to submit another complete set of doc
patches, or do you just want to commit these versions and then patch
them afterwards, along with patches to their immediate ancestors?
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley AT banet DOT net)
- Raw text -