lock_folder
Description:
Attempt to lock a folder, multiple attempts will be made using all locking strategies available.
Parameters:
path |
Path to the file to lock (used for .locking only). |
fd |
Open file descriptor of the right type to lock. |
type |
Type of lock, CAMEL_LOCK_READ or CAMEL_LOCK_WRITE. |
Returns:
-1 on error, |
Namespace: Camel
Package: camel-1.2