mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 08:41:20 +00:00
network: implement POSIX socket shutdown on Linux
This commit is contained in:
1 parent
5bf37f52ad
commit
3ecc6b7d1b
3 files changed
+37
-7
No files matched your search
@@ -2006,6 +2006,11 @@ int KYTY_SYSV_ABI listen(int s, int backlog) {
|
||||
return Network::Net::Listen(s, backlog);
|
||||
}
|
||||
|
||||
int KYTY_SYSV_ABI shutdown(int s, int how) {
|
||||
PRINT_NAME();
|
||||
return Network::Net::Shutdown(s, how);
|
||||
}
|
||||
|
||||
int KYTY_SYSV_ABI accept(int s, void* addr, uint32_t* addrlen) {
|
||||
PRINT_NAME();
|
||||
return Network::Net::Accept(s, addr, addrlen);
|
||||
@@ -2242,6 +2247,7 @@ LIB_DEFINE(InitLibKernel_1_Posix) {
|
||||
LIB_FUNC("KuOmgKoqCdY", Posix::bind);
|
||||
LIB_FUNC("XVL8So3QJUk", Posix::connect);
|
||||
LIB_FUNC("pxnCmagrtao", Posix::listen);
|
||||
LIB_FUNC("TUuiYS2kE8s", Posix::shutdown);
|
||||
LIB_FUNC("3e+4Iv7IJ8U", Posix::accept);
|
||||
LIB_FUNC("RenI1lL1WFk", Posix::getsockname);
|
||||
LIB_FUNC("6O8EwYOgH9Y", Posix::getsockopt);
|
||||
|
||||
Reference in new issue
Block a user