The header doesn't mention what the function should return.
Index: apr_tables.h =================================================================== RCS file: /home/joe/lib/cvsroot/apr/include/apr_tables.h,v retrieving revision 1.18 diff -u -r1.18 apr_tables.h --- apr_tables.h 29 Jun 2001 09:01:41 -0000 1.18 +++ apr_tables.h 6 Jul 2001 23:18:52 -0000 @@ -366,7 +366,7 @@ * element in the table. If there is data passed in as a vararg, then the * function is only run on those element's whose key matches something in * the vararg. If the vararg is NULL, then every element is run through the - * function. + * function. Iteration continues while the function returns non-zero. * @param comp The function to run * @param rec The data to pass as the first argument to the function * @param t The table to iterate over @@ -383,7 +383,7 @@ * element in the table. If there is data passed in as a vararg, then the * function is only run on those element's whose key matches something in * the vararg. If the vararg is NULL, then every element is run through the - * function. + * function. Iteration continues while the function returns non-zero. * @param comp The function to run * @param rec The data to pass as the first argument to the function * @param t The table to iterate over
