1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Implement accept4 for more archs using socketcall.

So far accept4 was only supported on archs using socketcall for x86.
This patch adds support for the remaining archs.
This commit is contained in:
Jakub Jelinek
2009-05-22 08:25:34 -07:00
committed by Ulrich Drepper
parent be6b2e5cf3
commit 1e1dc4e82d
5 changed files with 76 additions and 4 deletions

View File

@@ -24,10 +24,6 @@
#define EINVAL 22
#define ENOSYS 38
#ifndef SOCKOP_accept4
# define SOCKOP_accept4 18
#endif
#ifdef __ASSUME_ACCEPT4
# define errlabel SYSCALL_ERROR_LABEL
#else