wcsset

Fills a wide-character string with a specified character.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <wchar.h> 
   
  wchar_t  *wcsset (
     wchar_t   *ws1,
     wchar_t    fill);
  

Parameters

ws1

(IN) Points to the wide-character string to fill.

fill

(IN) Specifies the character to be used in filling the string.

Return Values

Returns the address of the original string ws1.

Remarks

The wcsset function fills the string ws1 with the character fill. The null-terminating character in the original string remains unchanged.

See Also

wcsnset