678 * @p string. Use cx_strdup() to get copies. |
678 * @p string. Use cx_strdup() to get copies. |
679 * |
679 * |
680 * @param string the string to split |
680 * @param string the string to split |
681 * @param delim the delimiter |
681 * @param delim the delimiter |
682 * @param limit the maximum number of split items |
682 * @param limit the maximum number of split items |
683 * @param output a pre-allocated array of at least @p limit length |
683 * @param output a preallocated array of at least @p limit length |
684 * @return the actual number of split items |
684 * @return the actual number of split items |
685 */ |
685 */ |
686 cx_attr_nodiscard |
686 cx_attr_nodiscard |
687 cx_attr_nonnull |
687 cx_attr_nonnull |
688 cx_attr_access_w(4, 3) |
688 cx_attr_access_w(4, 3) |
733 * @p string. Use cx_strdup() to get copies. |
733 * @p string. Use cx_strdup() to get copies. |
734 * |
734 * |
735 * @param string the string to split |
735 * @param string the string to split |
736 * @param delim the delimiter |
736 * @param delim the delimiter |
737 * @param limit the maximum number of split items |
737 * @param limit the maximum number of split items |
738 * @param output a pre-allocated array of at least @p limit length |
738 * @param output a preallocated array of at least @p limit length |
739 * @return the actual number of split items |
739 * @return the actual number of split items |
740 */ |
740 */ |
741 cx_attr_nodiscard |
741 cx_attr_nodiscard |
742 cx_attr_nonnull |
742 cx_attr_nonnull |
743 cx_attr_access_w(4, 3) |
743 cx_attr_access_w(4, 3) |