diff --git a/src/include/stdio.h b/src/include/stdio.h index 72fc4378..67d85d79 100644 --- a/src/include/stdio.h +++ b/src/include/stdio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdio.h,v 1.43 2013/01/30 00:08:13 brad Exp $ */ +/* $OpenBSD: stdio.h,v 1.44 2013/03/28 16:37:14 eric Exp $ */ /* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */ /*- @@ -335,6 +335,11 @@ int putc_unlocked(int, FILE *); int putchar_unlocked(int); #endif /* __POSIX_VISIBLE >= 199506 */ +#if __POSIX_VISIBLE >= 200809 +FILE *fmemopen(void *, size_t, const char *); +FILE *open_memstream(char **, size_t *); +#endif /* __POSIX_VISIBLE >= 200809 */ + #if __XPG_VISIBLE char *tempnam(const char *, const char *); #endif diff --git a/src/include/wchar.h b/src/include/wchar.h index d91204f1..442e89f9 100644 --- a/src/include/wchar.h +++ b/src/include/wchar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wchar.h,v 1.23 2012/06/06 16:58:02 matthew Exp $ */ +/* $OpenBSD: wchar.h,v 1.24 2013/03/28 16:37:14 eric Exp $ */ /* $NetBSD: wchar.h,v 1.16 2003/03/07 07:11:35 tshiozak Exp $ */ /*- @@ -155,6 +155,8 @@ unsigned long int wcstoul(const wchar_t * __restrict, wchar_t ** __restrict, int base); #if __POSIX_VISIBLE >= 200809 +FILE *open_wmemstream(wchar_t **, size_t *); + wchar_t *wcsdup(const wchar_t *); int wcscasecmp(const wchar_t *, const wchar_t *); int wcsncasecmp(const wchar_t *, const wchar_t *, size_t);