X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b25be06635768807f8f693286fa73bb2297bb06c..4388f060552cc537e71e957d32f35e9d75a61233:/icuSources/io/unicode/ustdio.h diff --git a/icuSources/io/unicode/ustdio.h b/icuSources/io/unicode/ustdio.h index 9bcc797b..145b1f44 100644 --- a/icuSources/io/unicode/ustdio.h +++ b/icuSources/io/unicode/ustdio.h @@ -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 stdout. + * @param patternSpecification A pattern specifying how u_printf will + * interpret the variable arguments received and format the data. + * @return The number of Unicode characters written to stdout + * @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 stdout. + * @param patternSpecification A pattern specifying how u_printf_u will + * interpret the variable arguments received and format the data. + * @return The number of Unicode characters written to stdout + * @draft ICU 49 + */ +U_DRAFT int32_t U_EXPORT2 +u_printf_u(const UChar *patternSpecification, + ... ); + +/** + * Get a UFILE for stdout. + * @return UFILE that writes to stdout + * @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.