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

SPORT_SPECIAL_FUNC

Serial Port I/O Function: Executes the Windows* API communications function EscapeCommFunction on the specified port. This routine is only available for Windows.

Module

USE IFPORT

result = SPORT_SPECIAL_FUNC (port,function)

port

(Input) Integer. The port number.

function

(Input) INTEGER(4). The function to perform.

Results

The result type is INTEGER(4). The result is zero if successful; otherwise, the result is a Windows* error value.

Example
USE IFPORT
INTEGER(4) iresult
iresult =  SPORT_SPECIAL_FUNC( 2, ? )
END