CDEVHIO::ReadSmem Member Function

Syntax

#include <kmc/hio/CDevHIO.h>

int ReadSmem(
     int ch,
     int offset,
     void * buf,
     int length
);

Arguments

Name Description
in ch Channel number (from 0 to DEVHIO_COMM_MAX_CHANNEL-1).
in offset Starting position for the read operation.
out buf Buffer into which the data should be read.
in length Size of the data to read.

Return Values

Negative value: Error.
Zero or greater: Exited normally.

Description

Loads data from shared memory.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL