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


wcsncat

Append a specified number of characters to a wide character array.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <wchar.h>
wchar_t * wcsncat(wchar_t * dst, 
  const wchar_t * src, size_t n);
Parameters:

Parameters for this function are:

dst  
wchar_t *  
The destination string  
src  
wchar_t *  
The string to be appended  
n  
size_t  
The number of characters to copy  

Remarks:

The wcsncat() function appends a maximum of n characters from the character array pointed to by source to the character array pointed to by dest. The dest argument must point to a null terminated character array. The src argument does not necessarily have to point to a null terminated character array.

If a null character is reached in src before n characters have been appended, wcsncat() stops.

When done, strncat() terminates dest with a null character ('\0').

Return:

Returns a pointer to the destination string.

See Also:

"strncat"


[ 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