1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Fri Nov 15 12:27:25 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>

* sysdeps/posix/readv.c (readv): Change return type to ssize_t.
  	Deansideclized.
	* sysdeps/posix/writev.c (writev): Likewise.
This commit is contained in:
Thomas Bushnell, BSG
1996-11-15 19:50:04 +00:00
parent 63afd6ae40
commit ebe3b3ebb7
16 changed files with 288 additions and 202 deletions

View File

@ -29,9 +29,7 @@ struct memstream_info
/* Enlarge STREAM's buffer. */
static void
enlarge_buffer (stream, c)
register FILE *stream;
int c;
enlarge_buffer (register FILE *stream, int c)
{
struct memstream_info *info = (struct memstream_info *) stream->__cookie;
size_t need;
@ -96,10 +94,7 @@ enlarge_buffer (stream, c)
There is no external state to munge. */
static int
seek (cookie, pos, whence)
void *cookie;
fpos_t *pos;
int whence;
seek (void *cookie, fpos_t *pos, int whence)
{
switch (whence)
{
@ -120,8 +115,7 @@ seek (cookie, pos, whence)
}
static int
free_info (cookie)
void *cookie;
free_info (void *cookie)
{
#if 0
struct memstream_info *info = (struct memstream_info *) cookie;