Function: gds___char2str Purpose: copy a fchar value to a char[] Author: J.P. Terlouw Category: BASIC-GDS File: gdsd_basic.c Use: int gds___char2str(fchar c, char *s, int ls) c input fchar object s output string ls length of s The tranfer stops at the end of c or at the first blank encountered. If the length of c exceeds the length of s, only the first ls-1 elements are transferred. The output string is closed with a zero byte. The function value is the number of characters transferred. Updates: 21-Dec-89 -- original document