Displaying 2 results from an estimated 2 matches for "39f7db5".
Did you mean:
3927db50
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
...__extern int connect(int, const struct sockaddr *, socklen_t);
__extern int listen(int, int);
__extern int accept(int, struct sockaddr *, socklen_t *);
__extern int getsockname(int, struct sockaddr *, socklen_t *);
diff --git a/usr/klibc/SOCKETCALLS.def b/usr/klibc/SOCKETCALLS.def
index 70d478f..39f7db5 100644
--- a/usr/klibc/SOCKETCALLS.def
+++ b/usr/klibc/SOCKETCALLS.def
@@ -5,8 +5,8 @@
* SYSCALLS.def.
*/
<?> int socket(int, int, int);
-<?> int bind(int, struct sockaddr *, int);
-<?> int connect(int, struct sockaddr *, socklen_t);
+<?> int bind(int, const struct sock...
2016 Jan 06
0
[klibc:master] Add accept4(), handle fallback from accept () to accept4()
...o recv.o \
+ accept.o send.o recv.o \
access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \
lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir.o \
readlink.o realpath.o select.o symlink.o pipe.o \
diff --git a/usr/klibc/SOCKETCALLS.def b/usr/klibc/SOCKETCALLS.def
index 39f7db5..97413de 100644
--- a/usr/klibc/SOCKETCALLS.def
+++ b/usr/klibc/SOCKETCALLS.def
@@ -9,6 +9,7 @@
<?> int connect(int, const struct sockaddr *, socklen_t);
<?> int listen(int, int);
<?> int accept(int, struct sockaddr *, socklen_t *);
+<?> int accept4(int, struct sockaddr *...