LW_LCLOSE - close an LD library.

Usage:

#include <ld.h>
lw_lclose(index_seek,first_module);

Where:

unsigned long index_seek;
is the (new) seek address of the library index.
unsigned long first_module;
is the seek address of the first module that is now in the library.

Description:

"lw_lclose" closes a library that is currently being used as the LD output file. This file should have been opened by "lw_lopen" and changed to write mode with "lw_lwrite". The current write position in the library MUST be positioned at the end of the index. This routine will append the required NULL directive to the end of the library header, but not to the end of the index.

See Also:

expl ld lib lw_lopen

expl ld lib lw_close

expl ld lib lr_close

expl ld lib lw_lwrite

Copyright © 1996, Thinkage Ltd.