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

ID 767251
Date 3/22/2024
Public

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

Document Table of Contents

SPORT_RELEASE

Serial Port I/O Function: Releases a serial port that was previously connected when SPORT_CONNECT was specified. This routine is only available for Windows.

Module

USE IFPORT

result = SPORT_RELEASE (port)

port

(Input) Integer. The port number.

Results

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

Example

USE IFPORT
INTEGER(4) iresult
iresult =  SPORT_RELEASE( 2 )
END

See Also