Closes the adapter opened by the HBA_OpenAdapter subroutine.
Common Host Bus Adapter Library (libHBAAPI.a)
#include <sys/hbaapi.h>
void HBA_CloseAdapter (handle)
HBA_HANDLE handle;
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.
Item | Description |
---|---|
handle | Specifies the open file descriptor obtained from a successful call to the open subroutine. |