[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

HBA_CloseAdapter Subroutine

Purpose

Closes the adapter opened by the HBA_OpenAdapter subroutine.

Library

Common Host Bus Adapter Library (libHBAAPI.a)

Syntax

#include <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

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

Related Information

The HBA_OpenAdapter Subroutine.

Special Files in AIX 5L Version 5.2 Files Reference describes specific qualities of the files that define devices.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]