ftp.delorie.com/djgpp/doc/libc/libc_841.html   search  
libc.a reference

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

unlock64

Syntax

 
#include <io.h>

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

Description

Unlocks a region previously locked by lock64.

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 lock64.

Return Value

Zero if successful, nonzero if not.

Portability

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004