summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix/sysv/linux/recvfrom.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/recvfrom.S')
-rw-r--r--libc/sysdeps/unix/sysv/linux/recvfrom.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/recvfrom.S b/libc/sysdeps/unix/sysv/linux/recvfrom.S
new file mode 100644
index 000000000..ccbb0a75d
--- /dev/null
+++ b/libc/sysdeps/unix/sysv/linux/recvfrom.S
@@ -0,0 +1,6 @@
+#define socket recvfrom
+#define __socket __libc_recvfrom
+#define NARGS 6
+#define NEED_CANCELLATION
+#include <socket.S>
+weak_alias (__libc_recvfrom, __recvfrom)