DEVHIO_smem_read Function

Syntax

#include <kmc/hio/devhio_smem.h>

int DEVHIO_smem_read(
     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/08/16
Initial version.

CONFIDENTIAL