summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/recv.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-04-24 13:36:50 +0000
committerAndreas Jaeger <aj@suse.de>2001-04-24 13:36:50 +0000
commitc2063191c35b57831414ed9a48e549ba3d2d2321 (patch)
treef659fcb33d5d99e068ee3f3b080ac39ec1cdbfc0 /sysdeps/mach/hurd/recv.c
parentdcea709aac90f307d27551cc3752744334292f97 (diff)
downloadglibc-c2063191c35b57831414ed9a48e549ba3d2d2321.tar.gz
send returns ssize_t.
Diffstat (limited to 'sysdeps/mach/hurd/recv.c')
-rw-r--r--sysdeps/mach/hurd/recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/recv.c b/sysdeps/mach/hurd/recv.c
index 6ae3a6ad8b..0e4ff034c1 100644
--- a/sysdeps/mach/hurd/recv.c
+++ b/sysdeps/mach/hurd/recv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +27,7 @@
Returns the number read or -1 for errors. */
/* XXX should be __recv ? */
-int
+ssize_t
recv (fd, buf, n, flags)
int fd;
void *buf;