[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_wcsnset

This function sets the first n characters of wide character string to a character.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS

Palm OS

Win32


Prototype:
#include <extras.h>
wchar_t *_wcsnset(wchar_t *str, 
  wchar_t wc, size_t n);
Parameters:

Parameters for this function are:

str  
wchar_t *  
The string to be modified  
wc  
wchar_t  
The char to be set  
n  
size_t  
The number of characters in the string to set.  

Remarks :

If the number of characters exceeds the length of the string all characters are set except for the terminating character.

Return:

A pointer to the altered string is returned.

See Also:

"_strset"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000