[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Exec' (#aros)

CloseDevice

Close access to a device.

Declaration

Source position: exec.pas line 1283

procedure CloseDevice(

  IORequest: PIORequest

);

Arguments

IORequest

  

A pointer to an I/O request structure

Description

This function informs the device that access to a device/unit previously opened has been concluded. The device may perform certain house-cleaning operations.

The user must ensure that all outstanding IORequests have been returned before closing the device. The AbortIO function can kill any stragglers.

After a close, the I/O request structure is free to be reused.

See also

OpenDevice

  

Open a device for use


Documentation generated on: 2017-01-10