DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

pt_close(S)


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(S).

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(S).

Compatibility

This routine replaces the use of close(S) to terminate access to HBA devices. See pt_open(S). 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(S), pt_send(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005