pt_close(3X)


pt_close -- terminate Host Bus Adapter (HBA) pass-through access

Synopsis

cc [options] file -lsdi
#include <libsdi.h>

int pt_close(pt_handle_t handle)

Description


handle
The opaque handle for a device obtained from a previous call to pt_open(3X).

Return values

On success, pt_close returns 0.

Errors

On failure, pt_close returns an errno to reflect the reason for the failure.

Usage

See pt_open(3X).

Compatibility

This routine replaces the use of close(2) to terminate access to HBA devices. See pt_open(3X). The older SCSI pass-through interface is supported for compatibility with older applications only.

Standards conformance

This routine is not part of any industry standard.

References

pt_open(3X), pt_send(3X)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004