str_read += max_width;
line_count += 1;
-
}
*lines = line_count;
}
+/* array stuff */
+int
+ar_swap_item(void** arr, int src_index, int dest_index)
+{
+ void* temp;
+
+ temp = arr[dest_index];
+ arr[dest_index] = arr[src_index];
+ arr[src_index] = temp;
+
+ return 0;
+}
+