[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface : Subroutine Reference

GPQWSU - Inquire Workstation Storage Utilization

GPQWSU (wsid, errind, total, lgblock, numblks)

Note:

This subroutine is a Workstation State List (WSL) inquiry. For an overview, see "WSL Inquiries"

Purpose

Use GPQWSU to inquire information about the utilization of available storage on the specified workstation. This information includes the total number of bytes available ( total), the largest contiguous block of storage available ( lgblock), and the number of blocks of storage available (numblks)

If the inquired information is available, then the graPHIGS API sets the error indicator to zero and returns the values in the output parameters. If the inquired information is unavailable, then the error indicator (errind) contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.

Parameters

wsid -- specified by user, fullword integer

Workstation identifier.

errind -- returned by the graPHIGS API, fullword integer

Error indicator. If the error indicator is zero, the request has been completed. Otherwise, one of the following errors exists:
25
SPECIFIED WORKSTATION DOES NOT EXIST
274
THIS FUNCTION IS NOT SUPPORTED BY THE WORKSTATION
571
INQUIRED INFORMATION IS NOT AVAILABLE

total -- returned by the graPHIGS API, fullword integer

Total number of bytes of storage currently available on this workstation.

lgblock -- returned by the graPHIGS API, fullword integer

Largest contiguous block of storage available in bytes.

numblks -- returned by the graPHIGS API, fullword integer

Number of blocks of storage available.

Error Codes

None

Related Subroutines

None

RCP code

201336600 ( X'0C002718')


[ Previous | Next | Contents | Glossary | Home | Search ]