Writes a character string to the display, starting at the current cursor position. At the completion of the write, the cursor is moved to the first position beyond the end of the string.

#define INCL_VIO
#include <os2.h>

PCH       CharStr;    /*  String to be written. */
ULONG     Length;     /*  Length of string. */
HVIO      VioHandle;  /*  VIO presentation-space handle. */
APIRET    rc;         /*  Return code. */

rc = VioWrtTTY(CharStr, Length, VioHandle);


[Back] [Next]