Guardian Procedure Calls Reference Manual

16: Buffer size for attribute code 17 (for non-PIC native object files only)
is the size of the buffer, in bytes, for the array returned in attribute 17. 0 indicates that the
object file does not use shared run-time libraries.
17: Native shared run-time library name information (for non-PIC native object files only)
returns information on shared run-time library names (which are not necessarily the same as
their file names) referenced by either the object file (lib-info is 0), the user library file
(lib-info is 1), or the specified shared run-time library (lib-info is 2) in this variable-sized
array.
Returns a null list of SRLs if the file is PIC.
DescriptionTal Value Representation
Number of shared run-time library names returned. This value indicates how many pairs
of INT and STRING listed, as below, follow this value
INT
Length of the shared run-time library name.INT
Name. (The returned string ends on an odd-byte boundary so that the next attribute
returned will begin on an even-byte boundary.)
STRING
Considerations
If an error is returned, the contents of ret-values-list and ret-values-len are undefined.
Example
attr^list[0] := 12; ! return compilation mode
attr^list[1] := 13; ! return run mode
err := OBJFILE_GETINFOLIST_ (attr^list, 2,
return^values^list, 4,
return^values^len);
892 Guardian Procedure Calls (O)