Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (O)
Guardian Procedure Calls Reference Manual—522629-013
11- 3
OBJFILE_GETINFOLIST_ Procedure
parameters
error returned value
INT
indicates the outcome of the operation. It returns one of the following values:
0 Information is returned successfully.
1 File-system error;
error-detail contains the error number. Error 563
(buffer too small) is returned if
ret-values-list is too small to contain all
the requested information.
2 Parameter error;
error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
3 Bounds error;
error-detail contains the number of the first parameter
found to be in error, where 1 designates the first parameter on the left.
4 Invalid attribute code specified;
error-detail contains the attribute code
that is unknown to OBJFILE_GETINFOLIST_.
5 The process does not have a user library.
6 The process header cannot be found.
ret-attr-list input
INT .EXT:ref:*
specifies an array of INTs indicating the attributes that are to have their values
returned in
ret-values-list. For details, see “Attribute Codes and Value
Representations,” later in this subsection.
ret-attr-count input
INT:value
specifies how many items the caller is supplying in
ret-attr-list.
If the requested information doesn’t fit in
ret-values-list, the procedure
returns an
error value of 1 and an error-detail value of 563 (buffer too
small). No information is returned.
The maximum value for this parameter is 1024.
ret-values-list output
INT .EXT:ref:*
contains
ret-values-len bytes of returned information. The values parallel the
items in
ret-attr-list. Each value begins on a word boundary. See “Attribute
Codes and Value Representations,” later in this subsection, for details.