qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
strnset, strset
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The strnset function sets, at most, the first <count> characters
     of <string> to the character <c>. It then returns a pointer to the
     altered string. If <count> is greater than the length of <string>,
     the length of <string> is used in place of <count>.
 
     The strset function sets all characters of <string> to <c>, except
     the terminating null character (\0).
 
     The _f... forms of these functions are model-independent (large-
     model) forms that use far pointer forms of the string arguments
     and return values. These model-independent functions can be called
     from any point in the program.
 
     Return Value
 
     These functions return a pointer to the altered string. There is
     no error return.
                                    -♦-