Pathmaker Programming Guide
Reference Summary
A–14 067868 Tandem Computers Incorporated
Table A-8. Pathmaker Common Service Utility Library (Page 4 of 5)
Function Name Description Parameters Description Return Value
lfreadlock Reads and locks the next
record in the current
access path.
LOGICAL_FILE *file
void *buffer
size_t bufflen
Pointer to the logical file to read.
Pointer to the buffer that receives
the record.
Maximum size of the receiving
buffer.
Short
LFE_OK is
returned if the
operation is
successful;
LFE_EOF is
returned if end-of-
file; an error code
is returned if it fails.
lfreadupdate Reads the current record
or the only record in the
current unique access
path.
LOGICAL_FILE *file
void *buffer
size_t bufflen
Pointer to the logical file to read.
Pointer to the buffer that receives
the record.
Maximum size of the receiving
buffer.
Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lfreadupdatelock Read and locks the
current record or the only
record in the current
unique access path.
LOGICAL_FILE *file
void *buffer
size_t bufflen
Pointer to the logical file to read.
Pointer to the buffer that receives
the record.
Maximum size of the receiving
buffer.
Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lflockrec Locks the current record
or the only record in the
current unique access
path.
LOGICAL_FILE *file Pointer to the logical file to lock. Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lflockfile Locks all records in a
logical file.
LOGICAL_FILE *file Pointer to the logical file to lock. Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lfunlockrec Unlocks the current
record or the only record
in the current unique
access path.
LOGICAL_FILE *file Pointer to the logical file to unlock. Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.