LBR$Close

LBR ››
Parent Previous Next

LBR$Close

Close library


This service closes an open library file.


Format:

LBR$Close context


Returns:

Returns a condition code.


Argument:

context

The context value returned by LB$INI_CONTROL that indicates the library to close.


Description

Closes a library file opened with LBR$OPEN. This should always be called when you are finished with a library file.


Condition Codes Returned:

Code

Meaning

LBR_ILLCTL

Specified context is not valid.

LBR_LIBNOTOPN

Specified library is not open.

SS_NORMAL

Successful completion.