apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Poirier <poir...@pobox.com>
Subject apr_file_exists?
Date Mon, 01 Nov 2010 15:17:42 GMT
Is there a function like apr_file_exists?  I looked but didn't spot
anything.

If not, is this a reasonable way to do it:

   APR_SUCCESS == apr_stat(&finfo, filename, APR_FINFO_TYPE, pool)

and would it be worth adding to APR?

Thanks,
Dan

Mime
View raw message