Displaying 1 result from an estimated 1 matches for "70d478f".
Did you mean:
70478
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
..., int);
+__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 st...