Pathmaker Programming Guide
Reference Summary
067868 Tandem Computers Incorporated A–15
Table A-8. Pathmaker Common Service Utility Library (Page 5 of 5)
Function Name Description Parameters Description Return Value
lfunlockfile Unlocks all records in a
logical file.
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.
lfrwrite Writes a new record to a
logical file.
LOGICAL_FILE *file
void *buffer
size_t bufflen
Pointer to the logical file to write.
Pointer to the record to write.
Size of record being written.
Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lfwriteupdate Updates 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 update.
Pointer to the record to update.
Size of record being written.
Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lfwriteupdateunlock Updates and unlocks 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 update.
Pointer to the record to update.
Size of record being written.
Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.
lfdeleterec Deletes the current
record or the only record
in the current unique
access path.
LOGICAL_FILE *file Pointer to the logical file to delete. Short
LFE_OK is
returned if the
operation is
successful; an
error code is
returned if it fails.