HBA_CloseAdapter Subroutine

Purpose

Closes the adapter opened by the HBA_OpenAdapter subroutine.

Library

Common Host Bus Adapter Library (libHBAAPI.a)

Syntax

#include <sys/hbaapi.h>

void HBA_CloseAdapter (handle)
HBA_HANDLE handle;

Description

The HBA_CloseAdapter subroutine closes the file associated with the file handle that was the result of a call to the HBA_OpenAdapter subroutine. The HBA_CloseAdapter subroutine calls the close subroutine, and applies it to the file handle. After performing the operation, the handle is set to NULL.

Parameters

Item Description
handle Specifies the open file descriptor obtained from a successful call to the open subroutine.