Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Devices /
Chapter 3 - SCSI Manager / SCSI Manager Reference
SCSI Manager TIB Instructions /


scComp

You can use the scComp TIB instruction to compare data on a SCSI device with data in memory.

-->scParam1PtrA pointer to a data buffer.
-->scParam2LongIntThe number of bytes to be compared.

DESCRIPTION
The scComp TIB instruction is used in conjunction with the SCSIRead function to compare data in memory with incoming data from a SCSI device. The SCSI Manager compares the result of the read command with the contents of the data buffer pointed to by scParam1. The scParam2 parameter specifies the number of bytes to read and compare. If all bytes do not compare, the SCSIRead function returns the result code scCompareErr.

SCSI Manager 4.3 Note
You should avoid using the scComp TIB instruction because it is not supported by SCSI Manager 4.3.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996