www.delorie.com/djgpp/doc/libc/libc_183.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

_dos_unlk64

Syntax

 
#include <io.h>

int _dos_unlk64(int fd, long long offset, long long length);

Description

Removes an advisory lock to the specified region of the file.

Arguments offset and length must be of type long long, thus enabling you to unlock 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_lk64.

Return Value

Zero if the lock was removed, nonzero otherwise.

Portability

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004