summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/local.h
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2011-04-24 07:46:58 +0000
committerstsp <stsp@openbsd.org>2011-04-24 07:46:58 +0000
commit92b22d3d074768c9f58c05a09ea816b4172403d9 (patch)
treeb8fb6e19c1c3decb482882f997f7dcc5fea03f7c /lib/libc/stdio/local.h
parentremove support for (very) old ffs on-disk formats; ok krw@ and no (diff)
downloadwireguard-openbsd-92b22d3d074768c9f58c05a09ea816b4172403d9.tar.xz
wireguard-openbsd-92b22d3d074768c9f58c05a09ea816b4172403d9.zip
Add fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, and wprintf to libc.
Based on our vfprintf etc. implementations. Wide character parts based on NetBSD but with lots of macros expanded. Minor bump for libc. ok kettenis espie
Diffstat (limited to 'lib/libc/stdio/local.h')
-rw-r--r--lib/libc/stdio/local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/local.h b/lib/libc/stdio/local.h
index 7e227558544..aa6ef238c43 100644
--- a/lib/libc/stdio/local.h
+++ b/lib/libc/stdio/local.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: local.h,v 1.15 2009/11/09 00:18:27 kurt Exp $ */
+/* $OpenBSD: local.h,v 1.16 2011/04/24 07:46:58 stsp Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -58,6 +58,7 @@ int __swsetup(FILE *);
int __sflags(const char *, int *);
wint_t __fgetwc_unlock(FILE *);
int __vfprintf(FILE *, const char *, __va_list);
+int __vfwprintf(FILE * __restrict, const wchar_t * __restrict, __va_list);
extern void __atexit_register_cleanup(void (*)(void));
extern int __sdidinit;