LIB251 User's Guide

Listing Library Contents

The LIST command creates a list of the object modules in a library file. This command must be entered in the following format:

LIST libfile <[>TO listfile<]> <[>PUBLICS<]>

Where

libfileis the library file from which the module list is generated.
listfileis the file where listing information is written. If no listfile is specified, the listing information displays on the screen.
PUBLICSspecifies that public symbols are included in the listing. Without this directive, the module names only are listed.

For example:

LIB251 LIST NEW.LIB

* LIST NEW.LIB TO NEW.LST PUBLICS

The library manager produces the following module list:

LIBRARY: NEW.LIB
   PUTCHAR
      _PUTCHAR
   PRINTF
      ?_PRINTF517?BYTE
      ?_SPRINTF517?BYTE
      ?_PRINTF?BYTE
      ?_SPRINTF?BYTE
      _PRINTF
      _SPRINTF
      _PRINTF517
      _SPRINTF517
   PUTS
      _PUTS

Note

  • In the above listing, PUTCHAR, PRINTF, and PUTS are module names. The names listed below each of these module names are the public symbols found in each of the modules.