OsConstants Class

Definition

Constants and helper functions for use with Os.

[Android.Runtime.Register("android/system/OsConstants", ApiSince=21, DoNotGenerateAcw=true)]
public sealed class OsConstants : Java.Lang.Object
type OsConstants = class
    inherit Object
Inheritance
OsConstants
Attributes

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Properties

AfInet
AfInet6
AfUnix
AfUnspec
AiAddrconfig
AiAll
AiCanonname
AiNumerichost
AiNumericserv
AiPassive
AiV4mapped
CapAuditControl
CapAuditWrite
CapBlockSuspend
CapChown
CapDacOverride
CapDacReadSearch
CapFowner
CapFsetid
CapIpcLock
CapIpcOwner
CapKill
CapLastCap
CapLease
CapLinuxImmutable
CapMacAdmin
CapMacOverride
CapMknod
CapNetAdmin
CapNetBindService
CapNetBroadcast
CapNetRaw
CapSetfcap
CapSetgid
CapSetpcap
CapSetuid
CapSysAdmin
CapSysBoot
CapSysChroot
CapSyslog
CapSysModule
CapSysNice
CapSysPacct
CapSysPtrace
CapSysRawio
CapSysResource
CapSysTime
CapSysTtyConfig
CapWakeAlarm
Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
E2big
Eacces
Eaddrinuse
Eaddrnotavail
Eafnosupport
Eagain
EaiAgain
EaiBadflags
EaiFail
EaiFamily
EaiMemory
EaiNodata
EaiNoname
EaiOverflow
EaiService
EaiSocktype
EaiSystem
Ealready
Ebadf
Ebadmsg
Ebusy
Ecanceled
Echild
Econnaborted
Econnrefused
Econnreset
Edeadlk
Edestaddrreq
Edom
Edquot
Eexist
Efault
Efbig
Ehostunreach
Eidrm
Eilseq
Einprogress
Eintr
Einval
Eio
Eisconn
Eisdir
Eloop
Emfile
Emlink
Emsgsize
Emultihop
Enametoolong
Enetdown
Enetreset
Enetunreach
Enfile
Enobufs
Enodata
Enodev
Enoent
Enoexec
Enolck
Enolink
Enomem
Enomsg
Enoprotoopt
Enospc
Enosr
Enostr
Enosys
Enotconn
Enotdir
Enotempty
Enotsock
Enotsup
Enotty
Enxio
Eopnotsupp
Eoverflow
Eperm
Epipe
Eproto
Eprotonosupport
Eprototype
Erange
Erofs
Espipe
Esrch
Estale
Etime
Etimedout
Etxtbsy
Exdev
ExitFailure
ExitSuccess
FdCloexec
FDupfd
FDupfdCloexec
FGetfd
FGetfl
FGetlk
FGetlk64
FGetown
Fionread
FOk
FRdlck
FSetfd
FSetfl
FSetlk
FSetlk64
FSetlkw
FSetlkw64
FSetown
FUnlck
FWrlck
Handle

The handle to the underlying Android instance.

(Inherited from Object)
IfaFDadfailed
IfaFDeprecated
IfaFHomeaddress
IfaFNodad
IfaFOptimistic
IfaFPermanent
IfaFSecondary
IfaFTemporary
IfaFTentative
IffAllmulti
IffAutomedia
IffBroadcast
IffDebug
IffDynamic
IffLoopback
IffMaster
IffMulticast
IffNoarp
IffNotrailers
IffPointopoint
IffPortsel
IffPromisc
IffRunning
IffSlave
IffUp
IpMulticastIf
IpMulticastLoop
IpMulticastTtl
IpprotoIcmp
IpprotoIcmpv6
IpprotoIp
IpprotoIpv6
IpprotoRaw
IpprotoTcp
IpprotoUdp
IpTos
IpTtl
Ipv6Checksum
Ipv6MulticastHops
Ipv6MulticastIf
Ipv6MulticastLoop
Ipv6Recvdstopts
Ipv6Recvhoplimit
Ipv6Recvhopopts
Ipv6Recvpktinfo
Ipv6Recvrthdr
Ipv6Recvtclass
Ipv6Tclass
Ipv6UnicastHops
Ipv6V6only
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MapFixed
MapPrivate
MapShared
McastBlockSource
McastJoinGroup
McastJoinSourceGroup
McastLeaveGroup
McastLeaveSourceGroup
McastUnblockSource
MclCurrent
MclFuture
MsAsync
MsgCtrunc
MsgDontroute
MsgEor
MsgOob
MsgPeek
MsgTrunc
MsgWaitall
MsInvalidate
MsSync
NiDgram
NiNamereqd
NiNofqdn
NiNumerichost
NiNumericserv
OAccmode
OAppend
OCloexec
OCreat
ODsync
OExcl
ONoctty
ONofollow
ONonblock
ORdonly
ORdwr
OSync
OTrunc
OWronly
PeerReference (Inherited from Object)
Pollerr
Pollhup
Pollin
Pollnval
Pollout
Pollpri
Pollrdband
Pollrdnorm
Pollwrband
Pollwrnorm
PrGetDumpable
ProtExec
ProtNone
ProtRead
ProtWrite
PrSetDumpable
PrSetNoNewPrivs
ROk
RtScopeHost
RtScopeLink
RtScopeNowhere
RtScopeSite
RtScopeUniverse
Sc2CBind
Sc2CDev
Sc2CharTerm
Sc2CVersion
Sc2FortDev
Sc2FortRun
Sc2Localedef
Sc2SwDev
Sc2Upe
Sc2Version
ScAioListioMax
ScAioMax
ScAioPrioDeltaMax
ScArgMax
ScAsynchronousIo
ScAtexitMax
ScAvphysPages
ScBcBaseMax
ScBcDimMax
ScBcScaleMax
ScBcStringMax
ScChildMax
ScClkTck
ScCollWeightsMax
ScDelaytimerMax
ScExprNestMax
ScFsync
ScGetgrRSizeMax
ScGetpwRSizeMax
ScIovMax
ScJobControl
ScLineMax
ScLoginNameMax
ScMappedFiles
ScMemlock
ScMemlockRange
ScMemoryProtection
ScMessagePassing
ScMqOpenMax
ScMqPrioMax
ScNgroupsMax
ScNprocessorsConf
ScNprocessorsOnln
ScOpenMax
ScPagesize
ScPageSize
ScPassMax
ScPhysPages
ScPrioritizedIo
ScPriorityScheduling
ScRealtimeSignals
ScReDupMax
ScRtsigMax
ScSavedIds
ScSemaphores
ScSemNsemsMax
ScSemValueMax
ScSharedMemoryObjects
ScSigqueueMax
ScStreamMax
ScSynchronizedIo
ScThreadAttrStackaddr
ScThreadAttrStacksize
ScThreadDestructorIterations
ScThreadKeysMax
ScThreadPrioInherit
ScThreadPrioProtect
ScThreadPriorityScheduling
ScThreads
ScThreadSafeFunctions
ScThreadStackMin
ScThreadThreadsMax
ScTimerMax
ScTimers
ScTtyNameMax
ScTznameMax
ScVersion
ScXbs5Ilp32Off32
ScXbs5Ilp32Offbig
ScXbs5Lp64Off64
ScXbs5LpbigOffbig
ScXopenCrypt
ScXopenEnhI18n
ScXopenLegacy
ScXopenRealtime
ScXopenRealtimeThreads
ScXopenShm
ScXopenUnix
ScXopenVersion
ScXopenXcuVersion
SeekCur
SeekEnd
SeekSet
ShutRd
ShutRdwr
ShutWr
SIfblk
SIfchr
SIfdir
SIfifo
SIflnk
SIfmt
SIfreg
SIfsock
Sigabrt
Sigalrm
Sigbus
Sigchld
Sigcont
Sigfpe
Sighup
Sigill
Sigint
Sigio
Sigkill
Sigpipe
Sigprof
Sigpwr
Sigquit
Sigrtmax
Sigrtmin
Sigsegv
Sigstkflt
Sigstop
Sigsys
Sigterm
Sigtrap
Sigtstp
Sigttin
Sigttou
Sigurg
Sigusr1
Sigusr2
Sigvtalrm
Sigwinch
Sigxcpu
Sigxfsz
Siocgifaddr
Siocgifbrdaddr
Siocgifdstaddr
Siocgifnetmask
SIrgrp
SIroth
SIrusr
SIrwxg
SIrwxo
SIrwxu
SIsgid
SIsuid
SIsvtx
SIwgrp
SIwoth
SIwusr
SIxgrp
SIxoth
SIxusr
SoBindtodevice
SoBroadcast
SockDgram
SockRaw
SockSeqpacket
SockStream
SoDebug
SoDontroute
SoError
SoKeepalive
SoLinger
SolSocket
SoOobinline
SoPasscred
SoPeercred
SoRcvbuf
SoRcvlowat
SoRcvtimeo
SoReuseaddr
SoSndbuf
SoSndlowat
SoSndtimeo
SoType
StderrFileno
StdinFileno
StdoutFileno
StMandlock
StNoatime
StNodev
StNodiratime
StNoexec
StNosuid
StRdonly
StRelatime
StSynchronous
TcpNodelay
TcpUserTimeout
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
Wcontinued
Wexited
Wnohang
Wnowait
WOk
Wstopped
Wuntraced
XOk

Methods

Clone()

Creates and returns a copy of this Object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ErrnoName(Int32)

Returns the string name of an errno value.

GaiName(Int32)

Returns the string name of a getaddrinfo(3) error value.

GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
S_ISBLK(Int32)

Tests whether the given mode is a block device.

S_ISCHR(Int32)

Tests whether the given mode is a character device.

S_ISDIR(Int32)

Tests whether the given mode is a directory.

S_ISFIFO(Int32)

Tests whether the given mode is a FIFO.

S_ISLNK(Int32)

Tests whether the given mode is a symbolic link.

S_ISREG(Int32)

Tests whether the given mode is a regular file.

S_ISSOCK(Int32)

Tests whether the given mode is a socket.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
WCOREDUMP(Int32)

Tests whether the child dumped core.

WEXITSTATUS(Int32)

Extracts the exit status of a child.

WIFEXITED(Int32)

Tests whether the child exited normally.

WIFSIGNALED(Int32)

Tests whether the child was terminated by a signal.

WIFSTOPPED(Int32)

Tests whether the child was stopped (not terminated) by a signal.

WSTOPSIG(Int32)

Returns the signal that cause the child to stop.

WTERMSIG(Int32)

Returns the signal that caused the child to exit.

Explicit Interface Implementations

IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to