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 4 - SCSI Manager 4.3 / SCSI Manager 4.3 Reference
Data Structures


Scatter/Gather List Element

You use scatter/gather lists to specify the data buffers to be used for a transfer. A scatter/gather list consists of one or more elements, each of which describes the location and size of one buffer.

The scatter/gather list element is defined by the SGRecord data type.

struct SGRecord
{
   Ptr      SGAddr;
   SInt32   SGCount;
};
typedef struct SGRecord SGRecord;
Field Description
SGAddr
A pointer to a data buffer.
SGCount
The size of the data buffer, in bytes.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
3 JUL 1996