[Previous] [Contents] [Index] [Next]

wcscat()

Concatenate two wide-character strings

Synopsis:

#include <wchar.h>

wchar_t * wcscat( wchar_t * ws1,
                  const wchar_t * ws2 );

Arguments:

ws1, ws2
The wide-character strings that you want to concatenate.

Library:

libc

Description:

The wcscat() function appends a copy of the string pointed to by ws2, including the terminating NUL wide character, to the end of the string pointed to by ws1. The first wide character of ws2 overwrites the NUL wide character at the end of ws1.

Returns:

The same pointer as ws1.

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler Yes
Signal handler Yes
Thread Yes

See also:

"String manipulation functions" and "Wide-character functions" in the summary of functions chapter.


[Previous] [Contents] [Index] [Next]