mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-05 00:07:25 +00:00
ba5c0cf5d8
* bsd: Add gdkchan's Select implementation Co-authored-by: TSRBerry <20988865+tsrberry@users.noreply.github.com> * bsd: Fix Select() causing a crash with an ArgumentException .NET Sockets have to be used for the Select() call * bsd: Make Select more generic * bsd: Adjust namespaces and remove unused imports * bsd: Fix NullReferenceException in Select Co-authored-by: gdkchan <gab.dark.100@gmail.com>
15 lines
No EOL
381 B
C#
15 lines
No EOL
381 B
C#
using Ryujinx.HLE.HOS.Services.Sockets.Bsd.Types;
|
|
using System;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
|
|
{
|
|
interface IFileDescriptor : IDisposable
|
|
{
|
|
bool Blocking { get; set; }
|
|
int Refcount { get; set; }
|
|
|
|
LinuxError Read(out int readSize, Span<byte> buffer);
|
|
|
|
LinuxError Write(out int writeSize, ReadOnlySpan<byte> buffer);
|
|
}
|
|
} |