ucx/string.h

changeset 123
7fb0f74517c5
parent 119
baa839a7633f
child 125
fca8efb122de
equal deleted inserted replaced
122:540d99722f1f 123:7fb0f74517c5
140 * concatenated strings</li> 140 * concatenated strings</li>
141 * <li><i>Hint:</i> get a <code>NULL</code>-terminated string by performing 141 * <li><i>Hint:</i> get a <code>NULL</code>-terminated string by performing
142 * <code>mystring.ptr[mystring.length]='\0'</code> after calling this 142 * <code>mystring.ptr[mystring.length]='\0'</code> after calling this
143 * function</li> 143 * function</li>
144 * </ul> 144 * </ul>
145 * 145 *
146 * @param dest new sstr_t with capacity information and allocated memory
146 * @param count the total number of strings to concatenate 147 * @param count the total number of strings to concatenate
147 * @param dest new sstr_t with capacity information and allocated memory
148 * @param src the first string 148 * @param src the first string
149 * @param ... all other strings 149 * @param ... all other strings
150 * @return the argument for <code>dest</code> is returned 150 * @return the argument for <code>dest</code> is returned
151 */ 151 */
152 sstr_t sstrncat(size_t count, sstr_t dest, sstr_t src, ...); 152 sstr_t sstrncat(sstr_t dest, size_t count, sstr_t src, ...);
153 153
154 154
155 /** 155 /**
156 * Returns a substring starting at the specified location. 156 * Returns a substring starting at the specified location.
157 * 157 *

mercurial