docs/Writerside/topics/string.h.md

changeset 1190
a7b913d5d589
parent 1165
e4e2c43d12c2
equal deleted inserted replaced
1188:b0300de92b72 1190:a7b913d5d589
1 # String 1 # String
2 2
3 <warning> 3 <warning>
4 Outdated - Rewrite! 4 Outdated Section - will be updated soon!
5 </warning> 5 </warning>
6 6
7 UCX strings come in two variants: immutable (`cxstring`) and mutable (`cxmutstr`). 7 UCX strings come in two variants: immutable (`cxstring`) and mutable (`cxmutstr`).
8 The functions of UCX are designed to work with immutable strings by default but in situations where it is necessary, 8 The functions of UCX are designed to work with immutable strings by default but in situations where it is necessary,
9 the API also provides alternative functions that work directly with mutable strings. 9 the API also provides alternative functions that work directly with mutable strings.
17 In general, UCX strings are **not** necessarily zero-terminated. If a function guarantees to return zero-terminated 17 In general, UCX strings are **not** necessarily zero-terminated. If a function guarantees to return zero-terminated
18 string, it is explicitly mentioned in the documentation of the respective function. 18 string, it is explicitly mentioned in the documentation of the respective function.
19 As a rule of thumb, you _should not_ pass the strings of a UCX string structure to another API without explicitly 19 As a rule of thumb, you _should not_ pass the strings of a UCX string structure to another API without explicitly
20 ensuring that the string is zero-terminated. 20 ensuring that the string is zero-terminated.
21 21
22 <!--
22 ## Basics 23 ## Basics
23 24
24 ### cx_mutstr 25 ### cx_mutstr
25 ### cx_mutstrn 26 ### cx_mutstrn
26 ### cx_str 27 ### cx_str
102 ### cx_strtoul_lc 103 ### cx_strtoul_lc
103 ### cx_strtoull_lc 104 ### cx_strtoull_lc
104 ### cx_strtous_lc 105 ### cx_strtous_lc
105 ### cx_strtouz_lc 106 ### cx_strtouz_lc
106 ### cx_strtoz_lc 107 ### cx_strtoz_lc
108 -->
109
110 <seealso>
111 <category ref="apidoc">
112 <a href="https://ucx.sourceforge.io/api/string_8h.html">string.h</a>
113 </category>
114 </seealso>

mercurial