Table of Contents

Class Os

Namespace
Android.System
Assembly
MASES.Netdroid.dll
public class Os : JVMBridgeBase<Os>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<Os>
Os
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Os>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Os>.IsAssignableFrom<T>()
JVMBridgeBase<Os>.Execute<T>(params T[])
JVMBridgeBase<Os>.DynBridgeClazz
JVMBridgeBase<Os>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

Os()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public Os()

Os(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public Os(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Accept(FileDescriptor, InetSocketAddress)

public static FileDescriptor Accept(FileDescriptor arg0, InetSocketAddress arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 InetSocketAddress

InetSocketAddress

Returns

FileDescriptor

FileDescriptor

Exceptions

ErrnoException
SocketException

Access(String, int)

public static bool Access(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

bool

bool

Exceptions

ErrnoException

Bind(FileDescriptor, InetAddress, int)

public static void Bind(FileDescriptor arg0, InetAddress arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 InetAddress

InetAddress

arg2 int

int

Exceptions

ErrnoException
SocketException

Bind(FileDescriptor, SocketAddress)

public static void Bind(FileDescriptor arg0, SocketAddress arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 SocketAddress

SocketAddress

Exceptions

ErrnoException
SocketException

Chmod(String, int)

public static void Chmod(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Exceptions

ErrnoException

Chown(String, int, int)

public static void Chown(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

Exceptions

ErrnoException

Close(FileDescriptor)

public static void Close(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Connect(FileDescriptor, InetAddress, int)

public static void Connect(FileDescriptor arg0, InetAddress arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 InetAddress

InetAddress

arg2 int

int

Exceptions

ErrnoException
SocketException

Connect(FileDescriptor, SocketAddress)

public static void Connect(FileDescriptor arg0, SocketAddress arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 SocketAddress

SocketAddress

Exceptions

ErrnoException
SocketException

Dup(FileDescriptor)

public static FileDescriptor Dup(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Dup2(FileDescriptor, int)

public static FileDescriptor Dup2(FileDescriptor arg0, int arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

Returns

FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Environ()

public static String[] Environ()

Returns

String[]

String

Execv(String, String[])

public static void Execv(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Exceptions

ErrnoException

Execve(String, String[], String[])

public static void Execve(String arg0, String[] arg1, String[] arg2)

Parameters

arg0 String

String

arg1 String[]

String

arg2 String[]

String

Exceptions

ErrnoException

Fchmod(FileDescriptor, int)

public static void Fchmod(FileDescriptor arg0, int arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

Exceptions

ErrnoException

Fchown(FileDescriptor, int, int)

public static void Fchown(FileDescriptor arg0, int arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

arg2 int

int

Exceptions

ErrnoException

FcntlInt(FileDescriptor, int, int)

public static int FcntlInt(FileDescriptor arg0, int arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

arg2 int

int

Returns

int

int

Exceptions

ErrnoException

Fdatasync(FileDescriptor)

public static void Fdatasync(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Fstat(FileDescriptor)

public static StructStat Fstat(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

StructStat

StructStat

Exceptions

ErrnoException

Fstatvfs(FileDescriptor)

public static StructStatVfs Fstatvfs(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

StructStatVfs

StructStatVfs

Exceptions

ErrnoException

Fsync(FileDescriptor)

public static void Fsync(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Ftruncate(FileDescriptor, long)

public static void Ftruncate(FileDescriptor arg0, long arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 long

long

Exceptions

ErrnoException

Gai_strerror(int)

public static String Gai_strerror(int arg0)

Parameters

arg0 int

int

Returns

String

String

Getegid()

public static int Getegid()

Returns

int

int

Getenv(String)

public static String Getenv(String arg0)

Parameters

arg0 String

String

Returns

String

String

Geteuid()

public static int Geteuid()

Returns

int

int

Getgid()

public static int Getgid()

Returns

int

int

Getpeername(FileDescriptor)

public static SocketAddress Getpeername(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

SocketAddress

SocketAddress

Exceptions

ErrnoException

Getpid()

public static int Getpid()

Returns

int

int

Getppid()

public static int Getppid()

Returns

int

int

Getsockname(FileDescriptor)

public static SocketAddress Getsockname(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

SocketAddress

SocketAddress

Exceptions

ErrnoException

GetsockoptTimeval(FileDescriptor, int, int)

public static StructTimeval GetsockoptTimeval(FileDescriptor arg0, int arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

arg2 int

int

Returns

StructTimeval

StructTimeval

Exceptions

ErrnoException

Gettid()

public static int Gettid()

Returns

int

int

Getuid()

public static int Getuid()

Returns

int

int

Getxattr(String, String)

public static byte[] Getxattr(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

byte[]

byte

Exceptions

ErrnoException

If_indextoname(int)

public static String If_indextoname(int arg0)

Parameters

arg0 int

int

Returns

String

String

If_nametoindex(String)

public static int If_nametoindex(String arg0)

Parameters

arg0 String

String

Returns

int

int

Inet_pton(int, String)

public static InetAddress Inet_pton(int arg0, String arg1)

Parameters

arg0 int

int

arg1 String

String

Returns

InetAddress

InetAddress

Isatty(FileDescriptor)

public static bool Isatty(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Returns

bool

bool

Kill(int, int)

public static void Kill(int arg0, int arg1)

Parameters

arg0 int

int

arg1 int

int

Exceptions

ErrnoException

Lchown(String, int, int)

public static void Lchown(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

Exceptions

ErrnoException
public static void Link(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

ErrnoException

Listen(FileDescriptor, int)

public static void Listen(FileDescriptor arg0, int arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

Exceptions

ErrnoException

Listxattr(String)

public static String[] Listxattr(String arg0)

Parameters

arg0 String

String

Returns

String[]

String

Exceptions

ErrnoException

Lseek(FileDescriptor, long, int)

public static long Lseek(FileDescriptor arg0, long arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 long

long

arg2 int

int

Returns

long

long

Exceptions

ErrnoException

Lstat(String)

public static StructStat Lstat(String arg0)

Parameters

arg0 String

String

Returns

StructStat

StructStat

Exceptions

ErrnoException

Memfd_create(String, int)

public static FileDescriptor Memfd_create(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Returns

FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Mincore(long, long, byte[])

public static void Mincore(long arg0, long arg1, byte[] arg2)

Parameters

arg0 long

long

arg1 long

long

arg2 byte[]

byte

Exceptions

ErrnoException

Mkdir(String, int)

public static void Mkdir(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Exceptions

ErrnoException

Mkfifo(String, int)

public static void Mkfifo(String arg0, int arg1)

Parameters

arg0 String

String

arg1 int

int

Exceptions

ErrnoException

Mlock(long, long)

public static void Mlock(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Exceptions

ErrnoException

Mmap(long, long, int, int, FileDescriptor, long)

public static long Mmap(long arg0, long arg1, int arg2, int arg3, FileDescriptor arg4, long arg5)

Parameters

arg0 long

long

arg1 long

long

arg2 int

int

arg3 int

int

arg4 FileDescriptor

FileDescriptor

arg5 long

long

Returns

long

long

Exceptions

ErrnoException

Msync(long, long, int)

public static void Msync(long arg0, long arg1, int arg2)

Parameters

arg0 long

long

arg1 long

long

arg2 int

int

Exceptions

ErrnoException

Munlock(long, long)

public static void Munlock(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Exceptions

ErrnoException

Munmap(long, long)

public static void Munmap(long arg0, long arg1)

Parameters

arg0 long

long

arg1 long

long

Exceptions

ErrnoException

Open(String, int, int)

public static FileDescriptor Open(String arg0, int arg1, int arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 int

int

Returns

FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Pipe()

public static FileDescriptor[] Pipe()

Returns

FileDescriptor[]

FileDescriptor

Exceptions

ErrnoException

Poll(StructPollfd[], int)

public static int Poll(StructPollfd[] arg0, int arg1)

Parameters

arg0 StructPollfd[]

StructPollfd

arg1 int

int

Returns

int

int

Exceptions

ErrnoException

Posix_fallocate(FileDescriptor, long, long)

public static void Posix_fallocate(FileDescriptor arg0, long arg1, long arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 long

long

arg2 long

long

Exceptions

ErrnoException

Prctl(int, long, long, long, long)

public static int Prctl(int arg0, long arg1, long arg2, long arg3, long arg4)

Parameters

arg0 int

int

arg1 long

long

arg2 long

long

arg3 long

long

arg4 long

long

Returns

int

int

Exceptions

ErrnoException

Pread(FileDescriptor, ByteBuffer, long)

public static int Pread(FileDescriptor arg0, ByteBuffer arg1, long arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 ByteBuffer

ByteBuffer

arg2 long

long

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Pread(FileDescriptor, byte[], int, int, long)

public static int Pread(FileDescriptor arg0, byte[] arg1, int arg2, int arg3, long arg4)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

arg4 long

long

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Pwrite(FileDescriptor, ByteBuffer, long)

public static int Pwrite(FileDescriptor arg0, ByteBuffer arg1, long arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 ByteBuffer

ByteBuffer

arg2 long

long

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Pwrite(FileDescriptor, byte[], int, int, long)

public static int Pwrite(FileDescriptor arg0, byte[] arg1, int arg2, int arg3, long arg4)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

arg4 long

long

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Read(FileDescriptor, ByteBuffer)

public static int Read(FileDescriptor arg0, ByteBuffer arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 ByteBuffer

ByteBuffer

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Read(FileDescriptor, byte[], int, int)

public static int Read(FileDescriptor arg0, byte[] arg1, int arg2, int arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException
public static String Readlink(String arg0)

Parameters

arg0 String

String

Returns

String

String

Exceptions

ErrnoException

Readv(FileDescriptor, object[], int[], int[])

public static int Readv(FileDescriptor arg0, object[] arg1, int[] arg2, int[] arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 object[]

object

arg2 int[]

int

arg3 int[]

int

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Recvfrom(FileDescriptor, ByteBuffer, int, InetSocketAddress)

public static int Recvfrom(FileDescriptor arg0, ByteBuffer arg1, int arg2, InetSocketAddress arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 ByteBuffer

ByteBuffer

arg2 int

int

arg3 InetSocketAddress

InetSocketAddress

Returns

int

int

Exceptions

ErrnoException
SocketException

Recvfrom(FileDescriptor, byte[], int, int, int, InetSocketAddress)

public static int Recvfrom(FileDescriptor arg0, byte[] arg1, int arg2, int arg3, int arg4, InetSocketAddress arg5)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

arg4 int

int

arg5 InetSocketAddress

InetSocketAddress

Returns

int

int

Exceptions

ErrnoException
SocketException

Recvmsg(FileDescriptor, StructMsghdr, int)

public static int Recvmsg(FileDescriptor arg0, StructMsghdr arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 StructMsghdr

StructMsghdr

arg2 int

int

Returns

int

int

Exceptions

ErrnoException
SocketException

Remove(String)

public static void Remove(String arg0)

Parameters

arg0 String

String

Exceptions

ErrnoException

Removexattr(String, String)

public static void Removexattr(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

ErrnoException

Rename(String, String)

public static void Rename(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

ErrnoException

Sendfile(FileDescriptor, FileDescriptor, Int64Ref, long)

public static long Sendfile(FileDescriptor arg0, FileDescriptor arg1, Int64Ref arg2, long arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 FileDescriptor

FileDescriptor

arg2 Int64Ref

Int64Ref

arg3 long

long

Returns

long

long

Exceptions

ErrnoException

Sendmsg(FileDescriptor, StructMsghdr, int)

public static int Sendmsg(FileDescriptor arg0, StructMsghdr arg1, int arg2)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 StructMsghdr

StructMsghdr

arg2 int

int

Returns

int

int

Exceptions

ErrnoException
SocketException

Sendto(FileDescriptor, ByteBuffer, int, InetAddress, int)

public static int Sendto(FileDescriptor arg0, ByteBuffer arg1, int arg2, InetAddress arg3, int arg4)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 ByteBuffer

ByteBuffer

arg2 int

int

arg3 InetAddress

InetAddress

arg4 int

int

Returns

int

int

Exceptions

ErrnoException
SocketException

Sendto(FileDescriptor, byte[], int, int, int, InetAddress, int)

public static int Sendto(FileDescriptor arg0, byte[] arg1, int arg2, int arg3, int arg4, InetAddress arg5, int arg6)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

arg4 int

int

arg5 InetAddress

InetAddress

arg6 int

int

Returns

int

int

Exceptions

ErrnoException
SocketException

Sendto(FileDescriptor, byte[], int, int, int, SocketAddress)

public static int Sendto(FileDescriptor arg0, byte[] arg1, int arg2, int arg3, int arg4, SocketAddress arg5)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

arg4 int

int

arg5 SocketAddress

SocketAddress

Returns

int

int

Exceptions

ErrnoException
SocketException

Setegid(int)

[Obsolete]
public static void Setegid(int arg0)

Parameters

arg0 int

int

Exceptions

ErrnoException

Setenv(String, String, bool)

public static void Setenv(String arg0, String arg1, bool arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 bool

bool

Exceptions

ErrnoException

Seteuid(int)

[Obsolete]
public static void Seteuid(int arg0)

Parameters

arg0 int

int

Exceptions

ErrnoException

Setgid(int)

[Obsolete]
public static void Setgid(int arg0)

Parameters

arg0 int

int

Exceptions

ErrnoException

Setsid()

public static int Setsid()

Returns

int

int

Exceptions

ErrnoException

SetsockoptInt(FileDescriptor, int, int, int)

public static void SetsockoptInt(FileDescriptor arg0, int arg1, int arg2, int arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

arg2 int

int

arg3 int

int

Exceptions

ErrnoException

SetsockoptTimeval(FileDescriptor, int, int, StructTimeval)

public static void SetsockoptTimeval(FileDescriptor arg0, int arg1, int arg2, StructTimeval arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

arg2 int

int

arg3 StructTimeval

StructTimeval

Exceptions

ErrnoException

Setuid(int)

[Obsolete]
public static void Setuid(int arg0)

Parameters

arg0 int

int

Exceptions

ErrnoException

Setxattr(String, String, byte[], int)

public static void Setxattr(String arg0, String arg1, byte[] arg2, int arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 byte[]

byte

arg3 int

int

Exceptions

ErrnoException

Shutdown(FileDescriptor, int)

public static void Shutdown(FileDescriptor arg0, int arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

Exceptions

ErrnoException

Socket(int, int, int)

public static FileDescriptor Socket(int arg0, int arg1, int arg2)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

Returns

FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Socketpair(int, int, int, FileDescriptor, FileDescriptor)

public static void Socketpair(int arg0, int arg1, int arg2, FileDescriptor arg3, FileDescriptor arg4)

Parameters

arg0 int

int

arg1 int

int

arg2 int

int

arg3 FileDescriptor

FileDescriptor

arg4 FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Stat(String)

public static StructStat Stat(String arg0)

Parameters

arg0 String

String

Returns

StructStat

StructStat

Exceptions

ErrnoException

Statvfs(String)

public static StructStatVfs Statvfs(String arg0)

Parameters

arg0 String

String

Returns

StructStatVfs

StructStatVfs

Exceptions

ErrnoException

Strerror(int)

public static String Strerror(int arg0)

Parameters

arg0 int

int

Returns

String

String

Strsignal(int)

public static String Strsignal(int arg0)

Parameters

arg0 int

int

Returns

String

String

public static void Symlink(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

ErrnoException

Sysconf(int)

public static long Sysconf(int arg0)

Parameters

arg0 int

int

Returns

long

long

Tcdrain(FileDescriptor)

public static void Tcdrain(FileDescriptor arg0)

Parameters

arg0 FileDescriptor

FileDescriptor

Exceptions

ErrnoException

Tcsendbreak(FileDescriptor, int)

public static void Tcsendbreak(FileDescriptor arg0, int arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 int

int

Exceptions

ErrnoException

Umask(int)

public static int Umask(int arg0)

Parameters

arg0 int

int

Returns

int

int

Uname()

public static StructUtsname Uname()

Returns

StructUtsname

StructUtsname

Unsetenv(String)

public static void Unsetenv(String arg0)

Parameters

arg0 String

String

Exceptions

ErrnoException

Write(FileDescriptor, ByteBuffer)

public static int Write(FileDescriptor arg0, ByteBuffer arg1)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 ByteBuffer

ByteBuffer

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Write(FileDescriptor, byte[], int, int)

public static int Write(FileDescriptor arg0, byte[] arg1, int arg2, int arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 byte[]

byte

arg2 int

int

arg3 int

int

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException

Writev(FileDescriptor, object[], int[], int[])

public static int Writev(FileDescriptor arg0, object[] arg1, int[] arg2, int[] arg3)

Parameters

arg0 FileDescriptor

FileDescriptor

arg1 object[]

object

arg2 int[]

int

arg3 int[]

int

Returns

int

int

Exceptions

ErrnoException
InterruptedIOException