HELPLIB.HLB  —  LBR Routines, LBR$UNMAP_MODULE
    The LBR$UNMAP_MODULE routine unmaps a module from process P2
    space.

    Format

      LBR$PUT_MODULE  library_index, txtrfa

1  –  Arguments

 library_index

    OpenVMS usage:longword_unsigned
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference
    Library control index returned by the LBR$INI_CONTROL library
    routine. The library_index argument is the address of the
    longword that contains the index.

 txtrfa

    OpenVMS usage:vector_longword_unsigned
    type:         longword (unsigned)
    access:       read only
    mechanism:    by reference
    The module's record file address (RFA) of the library module
    header. The txtrfa argument is the address of the 2-longword
    array that specifies the RFA of the module header.

2  –  Description

    The LBR$UNMAP_MODULE routine unmaps the module, with the record
    file address in txtrfa, from process P2 space. This action
    releases the resources used to map the module.

    Unlike other LBR services that use RMS services, LBR$UNMAP_MODULE
    also uses system services. Because of this, the secondary status
    for error returns is placed in LBR$GL_SUBSTS. Use this to find
    further status when an error is returned.
Close Help