diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-03-22 01:03:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-03-22 01:03:25 +0000 |
commit | 62ecda3d7c1346372d1cc69a7e726f851b0ef8a8 (patch) | |
tree | e31d8e825c63dc2a7b7a2dfba2e5478938f23886 /manual/stdio.texi | |
parent | 101edd3f3187e38542b6dc380bb9134203c065f3 (diff) | |
download | glibc-62ecda3d7c1346372d1cc69a7e726f851b0ef8a8.zip glibc-62ecda3d7c1346372d1cc69a7e726f851b0ef8a8.tar.gz glibc-62ecda3d7c1346372d1cc69a7e726f851b0ef8a8.tar.bz2 |
(Hook Functions): Correct prototypes for reader and writer.
Diffstat (limited to 'manual/stdio.texi')
-rw-r--r-- | manual/stdio.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi index 7c1b679..4764003 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -4007,7 +4007,7 @@ that a custom stream needs. You should define the function to read data from the cookie as: @smallexample -ssize_t @var{reader} (void *@var{cookie}, void *@var{buffer}, size_t @var{size}) +ssize_t @var{reader} (void *@var{cookie}, char *@var{buffer}, size_t @var{size}) @end smallexample This is very similar to the @code{read} function; see @ref{I/O @@ -4019,7 +4019,7 @@ an error. You should define the function to write data to the cookie as: @smallexample -ssize_t @var{writer} (void *@var{cookie}, const void *@var{buffer}, size_t @var{size}) +ssize_t @var{writer} (void *@var{cookie}, const char *@var{buffer}, size_t @var{size}) @end smallexample This is very similar to the @code{write} function; see @ref{I/O |