Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

GETDRIVESQQ

Portability Function: Reports which drives are available to the system.

Module

USE IFPORT

result = GETDRIVESQQ( )

Results

The result type is character with length 26. It is the positional character string containing the letters of the drives available in the system.

The returned string contains letters for drives that are available, and blanks for drives that are not available. For example, on a system with A, C, and D drives, the string 'A CD' is returned.

On Linux* and macOS systems, the function returns a string filled with spaces.

Example

See the example for GETDRIVESIZEQQ.