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


_dos_lock

Syntax

#include <io.h>

_dos_lock(int _fd, long _offset, long _length)

Description

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

Return Value

Zero if the lock was added, nonzero otherwise.

Portability

not ANSI, not POSIX


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