| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <io.h> int _dos_lk64(int fd, long long offset, long long length); |
Adds an advisory lock to the specified region of the file.
Arguments offset and length must be of type long
long, thus enabling you to lock with offsets and lengths as large as
~2^63 (FAT16 limits this to ~2^31; FAT32 limits this to
2^32-2).
See section _dos_unlk64.
Zero if the lock was added, nonzero otherwise.
| ANSI/ISO C | No |
| POSIX | No |