Go to the first, previous, next, last section, table of contents.


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

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.