mailing list of musl libc
 help / color / mirror / code / Atom feed
91db2840b78aa235859d81e10763e9a65ca629da blob 231 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#define _GNU_SOURCE
#include <sys/socket.h>
#include "syscall.h"
#include "libc.h"

int accept4(int fd, struct sockaddr *restrict addr, socklen_t *restrict len, int flg)
{
        return syscall(SYS_accept4, fd, addr, len, flg);
}
debug log:

solving 91db284 ...
found 91db284 in https://inbox.vuxu.org/musl/CAK4o1WwuoWJRjaC1YrXLzjc8OCckuJ7=9FtNmeiCyg5+2kXNWA@mail.gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/CAK4o1WwuoWJRjaC1YrXLzjc8OCckuJ7=9FtNmeiCyg5+2kXNWA@mail.gmail.com/
diff --git a/src/linux/accept4.c b/src/linux/accept4.c
new file mode 100644
index 0000000..91db284

Checking patch src/linux/accept4.c...
Applied patch src/linux/accept4.c cleanly.

index at:
100644 91db2840b78aa235859d81e10763e9a65ca629da	src/linux/accept4.c

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).