The stchar() function
The stchar() function stores a null-terminated string in a fixed-length string, padding the end with blanks, if necessary.
Syntax
void stchar(from, to, count)
char *from;
char *to;
mint count;
- from
- A pointer to the first byte of a null-terminated source string.
- to
- A pointer to the fixed-length destination string. This argument can point to a location that overlaps the location to which the from argument points. In this case, the function discards the value to which from points.
- count
- The number of bytes in the fixed-length destination string.