summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/eina/eina_tmpstr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eina/eina_tmpstr.h b/src/lib/eina/eina_tmpstr.h
index f784a67acc..e516cfdbf4 100644
--- a/src/lib/eina/eina_tmpstr.h
+++ b/src/lib/eina/eina_tmpstr.h
@@ -167,7 +167,7 @@ EAPI Eina_Tmpstr *eina_tmpstr_add(const char *str) EINA_WARN_UNUSED_RESULT;
167/** 167/**
168 * @brief Add a new temporary string based on the input string and length. 168 * @brief Add a new temporary string based on the input string and length.
169 * 169 *
170 * @param str This is the input stringthat is copied into the temp string. 170 * @param str This is the input string that is copied into the temp string.
171 * @param length This is the maximum length and the allocated length of the temp string. 171 * @param length This is the maximum length and the allocated length of the temp string.
172 * @return A pointer to the tmp string that is a standard C string. 172 * @return A pointer to the tmp string that is a standard C string.
173 * 173 *
@@ -182,11 +182,11 @@ EAPI Eina_Tmpstr *eina_tmpstr_add(const char *str) EINA_WARN_UNUSED_RESULT;
182 * NULL will be returned, otherwise a valid string pointer will be returned 182 * NULL will be returned, otherwise a valid string pointer will be returned
183 * that you can treat as any other C string (eg strdup(tmpstr) or 183 * that you can treat as any other C string (eg strdup(tmpstr) or
184 * printf("%s\n", tmpstr) etc.). This string should be considered read-only 184 * printf("%s\n", tmpstr) etc.). This string should be considered read-only
185 * and immutable, and when youa re done with the string yo should delete it 185 * and immutable, and when you are done with the string you should delete it
186 * with eina_tmpstr_del(). 186 * with eina_tmpstr_del().
187 * 187 *
188 * @note If the length is greater than the actual string, but still '\0' 188 * @note If the length is greater than the actual string, but still '\0'
189 * terminateed. Their won't be any crash and the string will be correct, 189 * terminated, there won't be any crash and the string will be correct,
190 * but eina_tmpstr_len will return an erroneous length. So if you 190 * but eina_tmpstr_len will return an erroneous length. So if you
191 * want to have the correct length always call eina_tmpstr_add_length 191 * want to have the correct length always call eina_tmpstr_add_length
192 * with length == strlen(str). 192 * with length == strlen(str).