]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/tools/toolutil/toolutil.h
ICU-531.30.tar.gz
[apple/icu.git] / icuSources / tools / toolutil / toolutil.h
index 7b93211c2b9d9f0327e579104e8e576e890b952f..297c83b3f43a004e8ceec1a14cf55cad674e064b 100644 (file)
@@ -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.