]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | /*-\r |
2 | * Copyright (c) 2002 Tim J. Robbins\r | |
3 | * All rights reserved.\r | |
4 | *\r | |
5 | * Redistribution and use in source and binary forms, with or without\r | |
6 | * modification, are permitted provided that the following conditions\r | |
7 | * are met:\r | |
8 | * 1. Redistributions of source code must retain the above copyright\r | |
9 | * notice, this list of conditions and the following disclaimer.\r | |
10 | * 2. Redistributions in binary form must reproduce the above copyright\r | |
11 | * notice, this list of conditions and the following disclaimer in the\r | |
12 | * documentation and/or other materials provided with the distribution.\r | |
13 | *\r | |
14 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND\r | |
15 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r | |
16 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r | |
17 | * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE\r | |
18 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r | |
19 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS\r | |
20 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\r | |
21 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\r | |
22 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY\r | |
23 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF\r | |
24 | * SUCH DAMAGE.\r | |
25 | \r | |
26 | FreeBSD: src/lib/libc/stdio/vwprintf.c,v 1.1 2002/09/21 13:00:30 tjr Exp\r | |
27 | NetBSD: vwprintf.c,v 1.1 2005/05/14 23:51:02 christos Exp\r | |
28 | */\r | |
29 | #include <LibConfig.h>\r | |
30 | #include <sys/EfiCdefs.h>\r | |
31 | \r | |
32 | #include <stdarg.h>\r | |
33 | #include <stdio.h>\r | |
34 | #include <wchar.h>\r | |
35 | \r | |
36 | int\r | |
37 | vwprintf(const wchar_t * __restrict fmt, va_list ap)\r | |
38 | {\r | |
39 | \r | |
40 | return (vfwprintf(stdout, fmt, ap));\r | |
41 | }\r |