1WCSNCAT(P) POSIX Programmer's Manual WCSNCAT(P)
2
3
4
6 wcsncat - concatenate a wide-character string with part of another
7
9 #include <wchar.h>
10
11 wchar_t *wcsncat(wchar_t *restrict ws1, const wchar_t *restrict ws2,
12 size_t n);
13
14
16 The wcsncat() function shall append not more than n wide-character
17 codes (a null wide-character code and wide-character codes that follow
18 it are not appended) from the array pointed to by ws2 to the end of the
19 wide-character string pointed to by ws1. The initial wide-character
20 code of ws2 shall overwrite the null wide-character code at the end of
21 ws1. A terminating null wide-character code shall always be appended to
22 the result. If copying takes place between objects that overlap, the
23 behavior is undefined.
24
26 The wcsncat() function shall return ws1; no return value is reserved to
27 indicate an error.
28
30 No errors are defined.
31
32 The following sections are informative.
33
35 None.
36
38 None.
39
41 None.
42
44 None.
45
47 wcscat() , the Base Definitions volume of IEEE Std 1003.1-2001,
48 <wchar.h>
49
51 Portions of this text are reprinted and reproduced in electronic form
52 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
53 -- Portable Operating System Interface (POSIX), The Open Group Base
54 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
55 Electrical and Electronics Engineers, Inc and The Open Group. In the
56 event of any discrepancy between this version and the original IEEE and
57 The Open Group Standard, the original IEEE and The Open Group Standard
58 is the referee document. The original Standard can be obtained online
59 at http://www.opengroup.org/unix/online.html .
60
61
62
63IEEE/The Open Group 2003 WCSNCAT(P)