Contrast the behavior to `strsplit`.
Co-authored-by: Florian Forster <octo@collectd.org>
#if KERNEL_LINUX
/* irq_strsplit is a special split function for Linux' /proc/interrupts file.
- * It uses two or more spaces to separate fields. Returns number of parsed
- * fields. */
+ * It uses two or more spaces to separate fields, in contrast to strsplit()
+ * which splits on individual spaces. Returns number of parsed fields. */
static int irq_strsplit(char *string, char **fields, size_t fields_num) {
for (size_t i = 0; i < fields_num; i++) {
while (string[0] != 0 && isspace(string[0])) {