delorie.com/djgpp/doc/libc/libc_175.html   search  
libc.a reference

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

_dos_lock

Syntax

 
#include <io.h>

int _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

ANSI/ISO C No
POSIX No


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004