1XmStringNConcat(library call) XmStringNConcat(library call)
2
3
4
6 XmStringNConcat — A compound string function that appends a specified
7 number of bytes to a compound string
8
10 #include <Xm/Xm.h>
11 XmString XmStringNConcat(
12 XmString s1,
13 XmString s2,
14 int num_bytes);
15
17 This function is obsolete and exists for compatibility with previous
18 releases. It is replaced by XmStringConcat. XmStringNConcat appends a
19 specified number of bytes from s2 to the end of s1, including tags,
20 directional indicators, and separators. It then returns the resulting
21 compound string. The original strings are preserved. The function
22 allocates space for the resulting compound string. The application is
23 responsible for managing the allocated space. The application can
24 recover the allocated space by calling XmStringFree.
25
26 s1 Specifies the compound string to which a copy of s2 is
27 appended.
28
29 s2 Specifies the compound string that is appended to the end of
30 s1.
31
32 num_bytes Specifies the number of bytes of s2 to append to s1. If this
33 value is less than the length of s2, as many bytes as possi‐
34 ble, but possibly fewer than this value, will be appended to
35 s1 such that the resulting string is still a valid compound
36 string.
37
39 Returns a new compound string.
40
42 XmStringCreate(3) and XmStringFree(3).
43
44
45
46 XmStringNConcat(library call)