stchar()

Copies a null-terminated string into a fixed-length string.

Syntax

void stchar(char *from, char *to, mint count);
  1. from is a pointer to the first byte of a null-terminated source string.
  2. to is a pointer to a fixed-length destination string. If this argument points to a location that overlaps the location to which the from argument points, the from value is discarded.
  3. count is the number of bytes in the fixed-length destination string.