comparison th_string.c @ 630:d3aace9903fa

Doxygen improvements.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 17 Jan 2020 19:32:28 +0200
parents 594f197f7005
children da9618444c81
comparison
equal deleted inserted replaced
629:b695eb769e30 630:d3aace9903fa
65 } 65 }
66 66
67 67
68 /** 68 /**
69 * Helper function for th_strdup_trim() and friends. Copies @p len characters from 69 * Helper function for th_strdup_trim() and friends. Copies @p len characters from
70 * given string, and trims whitespace from it according to specified @p flags. 70 * given string, and trims whitespace from it according to specified @p flags.
71 * See TH_TRIM_* in th_string.h. If @p len or the resulting trimmed string would 71 * See TH_TRIM_* in th_string.h. If @p len or the resulting trimmed string would
72 * be empty (length 0), no copy is allocated and a @c NULL pointer is returned. 72 * be empty (length 0), no copy is allocated and a @c NULL pointer is returned.
73 * @param[in] src source string (does not need to be NUL terminated, as length must be specified) 73 * @param[in] src source string (does not need to be NUL terminated, as length must be specified)
74 * @param[in] len length of the source string, or desired number of characters to copy at maximum 74 * @param[in] len length of the source string, or desired number of characters to copy at maximum
75 * @param[in] flags trimming flags, see TH_TRIM_* in th_string.h 75 * @param[in] flags trimming flags, see TH_TRIM_* in th_string.h