Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > C Language Library Reference > Clib File and Directory Methods > Clib Lock File MethodThe Clib Lock File method locks or unlocks a file for simultaneous use by multiple processes. It returns one of the following values:
FormatTable 125 describes the arguments for the Clib Lock File method.
UsageThe Clib Lock File method applies or removes an advisory lock on the file that the filePointer argument identifies. An advisory lock is a type of lock that allows cooperating processes to perform consistent operations on a file. Other processes might still reference the files, so inconsistencies might occur. Locking allows the following types of locks:
If you use the Clib Lock File method to:
Siebel eScript does not support the Clib Lock File method in a Unicode environment. It always returns 0 in a Unicode environment. |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |