In file lock.h:

int lock_place

(const char* name, const char* info)

Place a lock.

Documentation

Place a lock.

Registers a resource lock. The lock will first be checked to make sure you have permission to place it. Permission is given if the lock:

Parameters:
name - the name of the resource to be locked (filename of the lock, too).
info - a short description of the lock. This is for your benefit only, so that processes competing for a lock will know why a lock is in place.
Returns:
One of the LKR_x result codes.

Alphabetic index



This page was generated with the help of DOC++.