X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/4388f060552cc537e71e957d32f35e9d75a61233..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/tools/toolutil/toolutil.h diff --git a/icuSources/tools/toolutil/toolutil.h b/icuSources/tools/toolutil/toolutil.h index 7b93211c..297c83b3 100644 --- a/icuSources/tools/toolutil/toolutil.h +++ b/icuSources/tools/toolutil/toolutil.h @@ -1,7 +1,7 @@ /* ******************************************************************************* * -* Copyright (C) 1999-2011, International Business Machines +* Copyright (C) 1999-2013, International Business Machines * Corporation and others. All Rights Reserved. * ******************************************************************************* @@ -108,6 +108,16 @@ getCurrentYear(void); U_CAPI void U_EXPORT2 uprv_mkdir(const char *pathname, UErrorCode *status); +#if !UCONFIG_NO_FILE_IO +/** + * Return TRUE if the named item exists + * @param file filename + * @return TRUE if named item (file, dir, etc) exists, FALSE otherwise + */ +U_CAPI UBool U_EXPORT2 +uprv_fileExists(const char *file); +#endif + /** * Return the modification date for the specified file or directory. * Return value is undefined if there was an error.