close(D2I) close(D2I)
NAME
close - close Host Bus Adapter pass-through access
SYNOPSIS
int prefixclose(dev_t dev, int flags, int otype, cred_t *cred_p);
Arguments
dev Device number.
flags Flags for close.
otype Type of close.
cred_p
Credential pointer of the closing process.
DESCRIPTION
This entry point is for HBA drivers. close(D2I) returns
target level access to a device, attached to a Host Bus
Adapter (HBA), currently operating in pass-through mode.
Return Values
On success, close returns 0. On failure, it returns the
appropriate error number corresponding to the failure. (See
errno.h.)
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.
The arguments to this routine are the same as those for any
standard close(D2) routine.
Level
Base only.
REFERENCES
close(D2), ioctl(D2I), open(D2I)
NOTICES
Applicability
sdi: 1, 2
Copyright 1994 Novell, Inc. Page 1