about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/recv.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-08 07:17:00 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-08 07:17:00 +0000
commit73c342ebcc172bd4a034d62a28e7bb6cd4e12e03 (patch)
tree68aca743bc72f823967ae29eb68567c80bf5adfa /sysdeps/unix/sysv/aix/recv.c
parenta2a89dd6ced7d42b95550f9f02c52d60c7626715 (diff)
downloadglibc-73c342ebcc172bd4a034d62a28e7bb6cd4e12e03.tar.gz
glibc-73c342ebcc172bd4a034d62a28e7bb6cd4e12e03.tar.xz
glibc-73c342ebcc172bd4a034d62a28e7bb6cd4e12e03.zip
Update.
2001-07-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
	* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.

	* sysdeps/unix/sysv/aix/recv.c: New file.

	* sysdeps/unix/sysv/aix/recvfrom.c: Fix various types.

	* sysdeps/generic/recv.c: Fix return type.

	* sysdeps/unix/sysv/aix/dl-libc.c (__libc_dlclose): Fix typo.

	* sysdeps/unix/sysv/aix/gettimeofday.c (__gettimeofday): Add
	declarations for asm functions.
Diffstat (limited to 'sysdeps/unix/sysv/aix/recv.c')
-rw-r--r--sysdeps/unix/sysv/aix/recv.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/aix/recv.c b/sysdeps/unix/sysv/aix/recv.c
new file mode 100644
index 0000000000..b8ae73e200
--- /dev/null
+++ b/sysdeps/unix/sysv/aix/recv.c
@@ -0,0 +1,28 @@
+/* Copyright (C) 2000, 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
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <sys/socket.h>
+
+extern ssize_t recv (int fd, void *buf, size_t n, int flags);
+
+
+ssize_t
+__recv (int fd, void *buf, size_t n, int flags)
+{
+  return recv (fd, buf, n, flags);
+}