forked from Bananymous/banan-os
Kernel: Implement basic connection-mode unix domain sockets
This commit is contained in:
@@ -116,7 +116,7 @@ namespace Kernel
|
||||
return link_target_impl();
|
||||
}
|
||||
|
||||
BAN::ErrorOr<void> Inode::accept(sockaddr* address, socklen_t* address_len)
|
||||
BAN::ErrorOr<long> Inode::accept(sockaddr* address, socklen_t* address_len)
|
||||
{
|
||||
LockGuard _(m_lock);
|
||||
if (!mode().ifsock())
|
||||
|
||||
Reference in New Issue
Block a user