DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

close(D2sdi)


close -- close Host Bus Adapter pass-through access

Synopsis (HBA drivers)

int prefixclose(dev_t dev, int flags, int otype, cred_t *cred_p);

Synopsis (Target drivers)

See close(D2) for synopsis and general usage information about this entry point.

Description

close( ) terminates target-level access to a device, attached to a Host Bus Adapter (HBA), currently operating in pass-through mode.

Arguments (HBA)


dev
Device number.

flags
Flags for close.

otype
Type of close.

cred_p
Credential pointer of the closing process.

Usage

After completing pass-through access to a device, the user level application should issue the pass-through close to allow target level access to the device once more.

Context and sensitivity

Blockable context. The driver can block but cannot do operations such as copyout(D3) that require access to the requesting process's address space.

Applicable hardware

All

Version applicability

sdi: 1, 2, 3, 4 HBA and target drivers.

See Also

close(D2), ioctl(D2sdi), open(D2sdi)

``SDI pass-through interface'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005