ldchar()

Copies a fixed-length string into a null-terminated string without trailing blanks.

Syntax

void ldchar(char *from, mint count, char *to);
  1. from is a pointer to a fixed-length source string.
  2. count is the number of bytes in the source string.
  3. to is a pointer to the first byte of a null-terminated destination string. If the to argument points to the same location as the from argument, or to a location that overlaps the from argument, ldchar() does not preserve the original value.