Next Previous Contents

35. SLsmg_write_raw

Synopsis

Write characters directly to the virtual display

Usage

unsigned int SLsmg_write_raw (unsigned short *buf, unsigned int len)

Description

The SLsmg_write_raw function attempts to write len characters specified by buf to the display at the current position. It returns the number of characters successfully written, which will be less than len if an attempt is made to write past the right margin.

Notes

The purpose of the pair of functions, SLsmg_read_raw and SLsmg_write_raw, is to permit one to copy the contents of one region of the virtual display to another region.

See Also

SLsmg_read_raw


Next Previous Contents