From 896e763d38bb91d3f3c8c5ebc26f431c58933bbc Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 2 Nov 2021 11:41:24 +0300 Subject: tbi/win: make wvprintf() --- lib/tbi/win.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/tbi/win.h') diff --git a/lib/tbi/win.h b/lib/tbi/win.h index 404cdd1..18f0153 100644 --- a/lib/tbi/win.h +++ b/lib/tbi/win.h @@ -133,4 +133,17 @@ BOOLEAN mvwhline(struct window *w, INT32 x, INT32 y, CHAR16 ch, INT32 n); */ BOOLEAN mvwvline(struct window *w, INT32 x, INT32 y, CHAR16 ch, INT32 n); +/* + * Prints output based on a null-terminated unicode format string + and a arguments list + * + * w: the window on which to operate + * fmt: a null-terminated unicode format string + * arg: the variable argument list + * + * return: the number of unicode chars in the produced output buffer + not including the null-terminator +*/ +UINTN EFIAPI wvprintf(struct window *w, CONST CHAR16 *fmt, VA_LIST args); + #endif /* UFM_TBI_WINDOW_H */ -- cgit v1.2.3-18-g5258