Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - strset http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                  strset

   Usage
   include <string.h>
   char *strset(char *string,int ch);

   Description
   strset()  sets  all  the  characters  in  string  to  ch  except   the
   terminating '\0'.

   Example
   #include <stdio.h>
   #include <string.h>
   char *string = " This string";

   main()
   {
        printf("\nstrset Example [%s]\n",strset(string,' '));
   }

   Return Value
   Returns string.


See Also: strnset

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson