Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (L)
Guardian Procedure Calls Reference Manual—522629-013
8-15
LOCKINFO Procedure
(Superseded by FILE_GETLOCKINFO_ Procedure )
LOCKINFO Procedure
(Superseded by FILE_GETLOCKINFO_
Procedure )
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
OSS Considerations
Summary
LOCKINFO provides information about locks (held or pending) on a local DP2 disk
volume. Each call returns information about one lock, plus as many holders/waiters as
the size of the caller’s buffer permits; successive calls can obtain information about all
the locks for a volume, file, process, or transaction.
Syntax for C Programmers
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
Syntax for TAL Programmers
Parameters
error returned value
INT
is a file-system error code indicating the outcome of the call. See “Considerations”
for values that may be returned.
Note. This procedure is supported for compatibility with previous software and should not be
used for new development.
error := LOCKINFO ( searchtype ! i
,searchid ! i
,ctlwds ! i,o
,buffersize ! i
,buffer ); ! o