Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

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

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice