about summary refs log tree commit diff
path: root/libio/stdio.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-08-29 02:54:55 +0000
committerUlrich Drepper <drepper@redhat.com>2000-08-29 02:54:55 +0000
commit46e4bd3b8eb5b11579110092f2563d745bab1139 (patch)
tree89e42e004e11904c65f3f880b5f58715e81bf382 /libio/stdio.h
parent07d94f904544f10b49595dd08271388c20211584 (diff)
downloadglibc-46e4bd3b8eb5b11579110092f2563d745bab1139.tar.gz
glibc-46e4bd3b8eb5b11579110092f2563d745bab1139.tar.xz
glibc-46e4bd3b8eb5b11579110092f2563d745bab1139.zip
Update.
	* libio/stdio.h: Add fmemopen prototype.

2000-08-25  Andreas Jaeger  <aj@suse.de>

	* libio/Makefile (routines): Add fmemopen.
	(tests): Add test-fmemopen.
	* libio/Versions: Add fmemopen with version GLIBC_2.2.
	* libio/test-fmemopen.c: New file.
	* libio/fmemopen.c: New file.
	Patches by Hanno Mueller <kontakt@hanno.de>.

2000-08-28  Ulrich Drepper  <drepper@redhat.com>
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index 7a18261586..ccab90bc2e 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -219,6 +219,9 @@ extern FILE *fopencookie (void *__restrict __magic_cookie,
 			  __const char *__restrict __modes,
 			  _IO_cookie_io_functions_t __io_funcs) __THROW;
 
+/* Create a new stream that refers to a memory buffer.  */
+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.  */