| iMatix home page | << | < | > | >> |
![]() Version 1.91 |
#include "sflstr.h" char * strcset ( char *string, char ch)
Sets all characters in string up to but not including the final null character to ch. Returns string. Use this function instead of the equivalent but non-portable strset() function.
{ char *scan; ASSERT (string); scan = string; while (*scan) *scan++ = ch; return (string); }
| << | < | > | >> |
![]() |