Browse Source

Bring back wprintf. We've sorted out what to do for gcc2 and gcc3.

"Yes, go ahead then" deraadt
OPENBSD_5_0
stsp 13 years ago
parent
commit
783d768449
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      src/include/wchar.h

+ 9
- 1
src/include/wchar.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: wchar.h,v 1.14 2011/04/24 08:54:02 stsp Exp $ */
/* $OpenBSD: wchar.h,v 1.15 2011/04/28 17:38:46 stsp Exp $ */
/* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */
/*-
@ -172,6 +172,14 @@ wint_t putwchar(wchar_t);
int fwide(FILE *, int);
int fwprintf(FILE * __restrict, const wchar_t * __restrict, ...);
int swprintf(wchar_t * __restrict, size_t, const wchar_t * __restrict, ...);
int vfwprintf(FILE * __restrict, const wchar_t * __restrict, __va_list);
int vswprintf(wchar_t * __restrict, size_t, const wchar_t * __restrict,
__va_list);
int vwprintf(const wchar_t * __restrict, __va_list);
int wprintf(const wchar_t * __restrict, ...);
#define getwc(f) fgetwc(f)
#define getwchar() getwc(stdin)
#define putwc(wc, f) fputwc((wc), (f))


Loading…
Cancel
Save