Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_STABLE int32_t U_EXPORT2 utrace_format ( char *  outBuf,
int32_t  capacity,
int32_t  indent,
const char *  fmt,

Trace output Formatter. An application's UTraceData tracing functions may call this function to format any additional trace data, beyond that provided by default, in human readable form with the same formatting conventions used by utrace_vformat().

outBuf pointer to a buffer to receive the formatted output. Output will be nul terminated if there is space in the buffer - if the length of the requested output < the output buffer size.
capacity Length of the output buffer.
indent Number of spaces to indent the output. Intended to allow data displayed from nested functions to be indented for readability.
fmt Format specification for the data to output
... Data to be formatted.
Length of formatted output, including the terminating NUL. If buffer capacity is insufficient, the required capacity is returned. ICU 2.8

Definition at line 381 of file utrace.c.

    int32_t retVal;
    va_list args;
    va_start(args, fmt ); 
    retVal = utrace_vformat(outBuf, capacity, indent, fmt, args);
    return retVal;

Generated by  Doxygen 1.6.0   Back to index