Printf style utility functions for OpenAlias.
Description
These functions provide Printf and vPrintf style output for Alias.
void AlVprintf( AlOutputType ot, const char* fmt, va_list ap )
Description
A ’vprintf’ style output function.
The output type will be one of:
kStdout - the output will be sent to stdout
kStderr - the output will be sent to stderr
kPrompt - the output will be sent to the prompt line and it is added to the prompt line history
kErrlog - the output will be sent to the error log file
kPromptNoHistory - the output will be sent to the prompt line, but it will not be added to the history
Arguments
ot - the output type
fmt - the string that is used to format the text
ap - the variable argument list (see stdarg.h for details)
void AlPrintf( AlOutputType ot, const char* fmt, ... )
Description
A ’printf’ style output function.
The output type will be one of kStdout, kStderr, kPrompt, kErrlog, or kPromptNoHistory.
Arguments
ot - the output type
fmt - the string that is used to format the text
... - variable arguments that depend on the output text