]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/io/unicode/ustdio.h
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / io / unicode / ustdio.h
index 9bcc797b292d31086f060cb698775709f639741c..145b1f44b0a8c75e7786cf231686780ebc84a51a 100644 (file)
@@ -1,7 +1,7 @@
 /*
 ******************************************************************************
 *
-*   Copyright (C) 1998-2010, International Business Machines
+*   Copyright (C) 1998-2011, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 ******************************************************************************
@@ -441,6 +441,17 @@ U_STABLE UConverter* U_EXPORT2 u_fgetConverter(UFILE *f);
 
 /* Output functions */
 
+/**
+ * Write formatted data to <TT>stdout</TT>.
+ * @param patternSpecification A pattern specifying how <TT>u_printf</TT> will
+ * interpret the variable arguments received and format the data.
+ * @return The number of Unicode characters written to <TT>stdout</TT>
+ * @draft ICU 49
+ */
+U_DRAFT int32_t U_EXPORT2
+u_printf(const char *patternSpecification,
+         ... );
+
 /**
  * Write formatted data to a UFILE.
  * @param f The UFILE to which to write.
@@ -471,6 +482,25 @@ u_vfprintf(UFILE        *f,
            const char   *patternSpecification,
            va_list      ap);
 
+/**
+ * Write formatted data to <TT>stdout</TT>.
+ * @param patternSpecification A pattern specifying how <TT>u_printf_u</TT> will
+ * interpret the variable arguments received and format the data.
+ * @return The number of Unicode characters written to <TT>stdout</TT>
+ * @draft ICU 49
+ */
+U_DRAFT int32_t U_EXPORT2
+u_printf_u(const UChar *patternSpecification,
+           ... );
+
+/**
+ * Get a UFILE for <TT>stdout</TT>.
+ * @return UFILE that writes to <TT>stdout</TT>
+ * @draft ICU 49
+ */
+U_DRAFT UFILE * U_EXPORT2
+u_get_stdout();
+
 /**
  * Write formatted data to a UFILE.
  * @param f The UFILE to which to write.