From a51bf216c854db85bfdb90e01aa42f4ed0a89200 Mon Sep 17 00:00:00 2001 From: minfrin Date: Wed, 9 Sep 2009 19:08:59 +0000 Subject: Clarify the return code for apr_dir_read. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@813082 13f79535-47bb-0310-9956-ffa450edef68 --- include/apr_file_info.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/apr_file_info.h b/include/apr_file_info.h index bbcff8ac0..94e84e876 100644 --- a/include/apr_file_info.h +++ b/include/apr_file_info.h @@ -261,7 +261,8 @@ APR_DECLARE(apr_status_t) apr_dir_close(apr_dir_t *thedir); * * @note If @c APR_INCOMPLETE is returned all the fields in @a finfo may * not be filled in, and you need to check the @c finfo->valid bitmask - * to verify that what you're looking for is there. + * to verify that what you're looking for is there. When no more + * entries are available, APR_ENOENT is returned. */ APR_DECLARE(apr_status_t) apr_dir_read(apr_finfo_t *finfo, apr_int32_t wanted, apr_dir_t *thedir); -- cgit v1.2.1