Skip to content

Commit

Permalink
* libio/stdio.h: Move open_wmemstream prototype to ...
Browse files Browse the repository at this point in the history
	* wcsmbs/wchar.h: ... here.
  • Loading branch information
Ulrich Drepper committed Sep 27, 2006
1 parent f1122ec commit 1c31aa7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2006-09-27 Ulrich Drepper <drepper@redhat.com>

* libio/stdio.h: Move open_wmemstream prototype to ...
* wcsmbs/wchar.h: ... here.

2006-09-25 Jakub Jelinek <jakub@redhat.com>

[BZ #3252]
Expand Down
8 changes: 1 addition & 7 deletions libio/stdio.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,13 +291,7 @@ extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __THROW;
/* Open a stream that writes into a malloc'd buffer that is expanded as
necessary. *BUFLOC and *SIZELOC are updated with the buffer's location
and the number of characters written on fflush or fclose. */
extern FILE *open_memstream (char **__restrict __bufloc,
size_t *__restrict __sizeloc) __THROW;

/* Like OPEN_MEMSTREAM, but the stream is wide oriented and produces
a wide character string. */
extern FILE *open_wmemstream (wchar_t **__restrict __bufloc,
size_t *__restrict __sizeloc) __THROW;
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW;
#endif


Expand Down
7 changes: 7 additions & 0 deletions wcsmbs/wchar.h
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,13 @@ extern wchar_t *wcpncpy (wchar_t *__dest, __const wchar_t *__src, size_t __n)


/* Wide character I/O functions. */

#ifdef __USE_GNU
/* Like OPEN_MEMSTREAM, but the stream is wide oriented and produces
a wide character string. */
extern __FILE *open_wmemstream (wchar_t **__bufloc, size_t *__sizeloc) __THROW;
#endif

#if defined __USE_ISOC99 || defined __USE_UNIX98
__BEGIN_NAMESPACE_C99

Expand Down

0 comments on commit 1c31aa7

Please sign in to comment.