OsConstants Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constants and helper functions for use with Os.
[Android.Runtime.Register("android/system/OsConstants", DoNotGenerateAcw=true)]
public sealed class OsConstants : Java.Lang.Object
[<Android.Runtime.Register("android/system/OsConstants", DoNotGenerateAcw=true)>]
type OsConstants = class
inherit Object
- Inheritance
- Attributes
Remarks
Constants and helper functions for use with Os.
Java documentation for android.system.OsConstants.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Properties
| Name | Description |
|---|---|
| AfInet |
Address-family code for IPv4 Internet sockets. |
| AfInet6 |
Address-family code for IPv6 Internet sockets. |
| AfNetlink |
Address-family code for communication with kernel Netlink interfaces. |
| AfPacket |
Address-family code for link-layer packet sockets. |
| AfUnix |
Address-family code for local UNIX-domain sockets. |
| AfUnspec |
Address-family code that leaves the protocol family unspecified. |
| AfVsock |
The virt-vsock address family, linux specific. |
| AiAddrconfig |
Address-lookup flag requesting only address families configured on the local system. |
| AiAll |
Address-lookup flag requesting both IPv6 addresses and IPv4-mapped addresses when used with AI_V4MAPPED. |
| AiCanonname |
Address-lookup flag requesting the canonical host name. |
| AiNumerichost |
Address-lookup flag requiring a numeric host address instead of host-name resolution. |
| AiNumericserv |
Address-lookup flag requiring a numeric service port instead of service-name resolution. |
| AiPassive |
Address-lookup flag requesting wildcard addresses suitable for binding when no node name is supplied. |
| AiV4mapped |
Address-lookup flag allowing IPv4-mapped IPv6 results when native IPv6 results are unavailable. |
| ArphrdEther |
ARP hardware-type code for Ethernet. |
| CapAuditControl |
Capability for changing kernel audit settings. |
| CapAuditWrite |
Capability for writing records to the kernel audit log. |
| CapBlockSuspend |
Capability for preventing system suspend with wake locks or event polling. |
| CapChown |
Capability for changing file ownership beyond normal owner restrictions. |
| CapDacOverride |
Capability for bypassing file-permission checks; executing a regular file still requires an execute bit. |
| CapDacReadSearch |
Capability for bypassing file-read and directory-read/search permission checks. |
| CapFowner |
Capability for bypassing file-owner checks that are separate from read, write and execute permissions. |
| CapFsetid |
Capability for preserving set-user-ID and set-group-ID bits when files are modified. |
| CapIpcLock |
Capability for locking memory and shared-memory segments. |
| CapIpcOwner |
Capability for bypassing access checks on System V interprocess-communication objects. |
| CapKill |
Capability for bypassing the user-ID checks used when sending signals. |
| CapLastCap |
The highest capability number in the native constant definitions. |
| CapLease |
Capability for establishing file leases. |
| CapLinuxImmutable |
Capability for changing the immutable and append-only file flags. |
| CapMacAdmin |
Capability for administering mandatory-access-control policies when the security module supports it. |
| CapMacOverride |
Capability for overriding mandatory-access-control checks when the security module supports it. |
| CapMknod |
Capability for creating block or character device nodes. |
| CapNetAdmin |
Capability for network administration, including interface and routing changes. |
| CapNetBindService |
Capability for binding Internet sockets to privileged ports below 1024. |
| CapNetBroadcast |
Reserved network-broadcast capability; unused by Linux. |
| CapNetRaw |
Capability for using raw and packet sockets. |
| CapSetfcap |
Capability for setting or removing file capabilities. |
| CapSetgid |
Capability for changing group credentials and supplementary group memberships. |
| CapSetpcap |
Capability for changing inheritable and bounding capability sets and process securebits. |
| CapSetuid |
Capability for changing process user IDs. |
| CapSysAdmin |
Capability for many administrative operations, including mounting file systems. |
| CapSysBoot |
Capability for rebooting the system. |
| CapSysChroot |
Capability for changing a process's root directory. |
| CapSyslog |
Capability for privileged access to the kernel log. |
| CapSysModule |
Capability for loading or removing kernel modules. |
| CapSysNice |
Capability for privileged scheduling, priority and processor-affinity changes. |
| CapSysPacct |
Capability for configuring process accounting. |
| CapSysPtrace |
Capability for tracing processes beyond the normal permission restrictions. |
| CapSysRawio |
Capability for privileged hardware input and output. |
| CapSysResource |
Capability for overriding certain resource limits and file-system quotas. |
| CapSysTime |
Capability for setting system and hardware clocks. |
| CapSysTtyConfig |
Capability for privileged terminal configuration and virtual hangups. |
| CapWakeAlarm |
Capability for setting alarm timers that wake a suspended system. |
| Class |
Returns the runtime class of this |
| E2big |
Error code indicating that an argument list is too large. |
| Eacces |
Error code indicating that access is denied by permissions. |
| Eaddrinuse |
Error code indicating that a socket address is already in use. |
| Eaddrnotavail |
Error code indicating that the requested address is not available locally. |
| Eafnosupport |
Error code indicating that the address family is not supported. |
| Eagain |
Error code indicating that a resource is temporarily unavailable. |
| EaiAgain |
Address-resolution error code for a temporary name-service failure. |
| EaiBadflags |
Address-resolution error code for invalid lookup flags. |
| EaiFail |
Address-resolution error code for a nonrecoverable name-service failure. |
| EaiFamily |
Address-resolution error code for an unsupported address family. |
| EaiMemory |
Address-resolution error code for a memory-allocation failure. |
| EaiNodata |
Address-resolution error code indicating that no address data is associated with the host. |
| EaiNoname |
Address-resolution error code indicating that the node or service name is not known. |
| EaiOverflow |
Address-resolution error code indicating that an output buffer is too small. |
| EaiService |
Address-resolution error code indicating that the service is not available for the requested socket type. |
| EaiSocktype |
Address-resolution error code for an unsupported socket type. |
| EaiSystem |
Address-resolution error code indicating a system error described by errno. |
| Ealready |
Error code indicating that a connection operation is already in progress. |
| Ebadf |
Error code indicating an invalid file descriptor. |
| Ebadmsg |
Error code indicating an invalid message. |
| Ebusy |
Error code indicating that a device or resource is busy. |
| Ecanceled |
Error code indicating that an operation was canceled. |
| Echild |
Error code indicating that there is no eligible child process. |
| Econnaborted |
Error code indicating that a connection was aborted. |
| Econnrefused |
Error code indicating that a connection was refused. |
| Econnreset |
Error code indicating that the peer reset the connection. |
| Edeadlk |
Error code indicating that an operation would cause a deadlock. |
| Edestaddrreq |
Error code indicating that a destination address is required. |
| Edom |
Error code indicating an argument outside a mathematical function's domain. |
| Edquot |
Error code indicating that a disk quota has been exceeded. |
| Eexist |
Error code indicating that a file-system entry already exists. |
| Efault |
Error code indicating an invalid memory address. |
| Efbig |
Error code indicating that a file is too large. |
| Ehostunreach |
Error code indicating that a destination host cannot be reached. |
| Eidrm |
Error code indicating that an interprocess-communication identifier was removed. |
| Eilseq |
Error code indicating an invalid or incomplete multibyte character sequence. |
| Einprogress |
Error code indicating that an operation is in progress. |
| Eintr |
Error code indicating that a signal interrupted an operation. |
| Einval |
Error code indicating an invalid argument. |
| Eio |
Error code indicating an input/output failure. |
| Eisconn |
Error code indicating that a socket is already connected. |
| Eisdir |
Error code indicating that a directory was supplied where another file type was required. |
| Eloop |
Error code indicating that too many symbolic links were followed. |
| Emfile |
Error code indicating that the process has too many open file descriptors. |
| Emlink |
Error code indicating that a file has too many hard links. |
| Emsgsize |
Error code indicating that a message is too large. |
| Emultihop |
Error code indicating that a multihop operation was attempted. |
| Enametoolong |
Error code indicating that a file name or path is too long. |
| Enetdown |
Error code indicating that the network is down. |
| Enetreset |
Error code indicating that a connection was aborted by the network. |
| Enetunreach |
Error code indicating that the network cannot be reached. |
| Enfile |
Error code indicating that the system-wide open-file limit has been reached. |
| Enobufs |
Error code indicating that no buffer space is available. |
| Enodata |
Error code indicating that no data is available. |
| Enodev |
Error code indicating that the requested device does not exist. |
| Enoent |
Error code indicating that a file or directory cannot be found. |
| Enoexec |
Error code indicating that an executable has an unrecognized format. |
| Enolck |
Error code indicating that no record locks are available. |
| Enolink |
Error code indicating that a communication link has been severed. |
| Enomem |
Error code indicating that memory cannot be allocated. |
| Enomsg |
Error code indicating that no message of the requested type is available. |
| Enonet |
Error code indicating that the machine is not on the network. |
| Enoprotoopt |
Error code indicating that a protocol option is unavailable. |
| Enospc |
Error code indicating that no space remains on the device. |
| Enosr |
Error code indicating that no STREAMS resources are available. |
| Enostr |
Error code indicating that the device is not a STREAMS device. |
| Enosys |
Error code indicating that the requested function is not implemented. |
| Enotconn |
Error code indicating that a socket is not connected. |
| Enotdir |
Error code indicating that a path component is not a directory. |
| Enotempty |
Error code indicating that a directory is not empty. |
| Enotsock |
Error code indicating that a socket operation was requested on a non-socket descriptor. |
| Enotsup |
Error code indicating that an operation is not supported. |
| Enotty |
Error code indicating that an input/output-control operation is inappropriate for the device. |
| Enxio |
Error code indicating that the requested device or address does not exist. |
| Eopnotsupp |
Error code indicating that an operation is not supported for the socket or object. |
| Eoverflow |
Error code indicating that a value cannot be represented in the destination type. |
| Eperm |
Error code indicating that an operation is not permitted. |
| Epipe |
Error code indicating a write to a pipe or connection without a reader. |
| Eproto |
Error code indicating a protocol failure. |
| Eprotonosupport |
Error code indicating that the requested protocol is not supported. |
| Eprototype |
Error code indicating that the protocol does not match the socket type. |
| Erange |
Error code indicating that a result is outside the permitted range. |
| Erofs |
Error code indicating an attempted change on a read-only file system. |
| Espipe |
Error code indicating that a seek operation is not supported by the descriptor. |
| Esrch |
Error code indicating that the requested process cannot be found. |
| Estale |
Error code indicating that a file handle is stale. |
| EthPAll |
Packet-socket protocol selector for all Ethernet protocols. |
| EthPArp |
Ethernet protocol identifier for address-resolution packets. |
| EthPIp |
Ethernet protocol identifier for IPv4 packets. |
| EthPIpv6 |
Ethernet protocol identifier for IPv6 packets. |
| Etime |
Error code indicating that a timer expired. |
| Etimedout |
Error code indicating that a connection timed out. |
| Etxtbsy |
Error code indicating an attempted change to a running executable. |
| Exdev |
Error code indicating an operation across different mounted file systems. |
| ExitFailure |
Process-exit status indicating unsuccessful completion. |
| ExitSuccess |
Process-exit status indicating successful completion. |
| FdCloexec |
Descriptor flag requesting closure when a new program is executed. |
| FDupfd |
File-control command that creates a duplicate descriptor at or above the requested minimum number. |
| FDupfdCloexec |
File-control command that creates a duplicate descriptor with close-on-exec set. |
| FGetfd |
File-control command that reads descriptor flags. |
| FGetfl |
File-control command that reads the access mode and file-status flags. |
| FGetlk |
File-control command that checks whether a proposed record lock would conflict. |
| FGetlk64 |
File-control command that checks a proposed record lock with a 64-bit file range. |
| FGetown |
File-control command that reads the process or process-group recipient of asynchronous I/O signals. |
| Fionread |
Input/output-control request for querying the available input-byte count. |
| FOk |
Access-check mode that tests whether the path exists. |
| FRdlck |
Record-lock type code for a shared read lock. |
| FSetfd |
File-control command that changes descriptor flags. |
| FSetfl |
File-control command that changes the modifiable file-status flags. |
| FSetlk |
File-control command that sets or releases a record lock without waiting. |
| FSetlk64 |
File-control command that sets or releases a 64-bit-range record lock without waiting. |
| FSetlkw |
File-control command that waits as needed to set a record lock. |
| FSetlkw64 |
File-control command that waits as needed to set a 64-bit-range record lock. |
| FSetown |
File-control command that sets the process or process-group recipient of asynchronous I/O signals. |
| FUnlck |
Record-lock type code for releasing a record lock. |
| FWrlck |
Record-lock type code for an exclusive write lock. |
| Handle |
The handle to the underlying Android instance. (Inherited from Object) |
| Icmp6EchoReply |
ICMPv6 message-type code for an echo reply. |
| Icmp6EchoRequest |
ICMPv6 message-type code for an echo request. |
| IcmpEcho |
ICMPv4 message-type code for an echo request. |
| IcmpEchoreply |
ICMPv4 message-type code for an echo reply. |
| IfaFDadfailed |
Address flag indicating that duplicate-address detection failed. |
| IfaFDeprecated |
Address flag indicating that the preferred lifetime has expired. |
| IfaFHomeaddress |
Address flag identifying a Mobile IPv6 home address. |
| IfaFManagetempaddr |
Address flag requesting management of temporary IPv6 addresses from this address. |
| IfaFNodad |
Address flag requesting that duplicate-address detection be skipped. |
| IfaFNoprefixroute |
Address flag requesting that no automatic route be created for the address prefix. |
| IfaFOptimistic |
Address flag selecting optimistic duplicate-address detection. |
| IfaFPermanent |
Address flag indicating that the address has no finite valid lifetime. |
| IfaFSecondary |
Address flag for a secondary IPv4 address, also used for a temporary IPv6 address. |
| IfaFTemporary |
Address flag for a temporary IPv6 address; shares its value with IFA_F_SECONDARY. |
| IfaFTentative |
Address flag indicating that duplicate-address detection has not finished. |
| IffAllmulti |
Interface flag requesting reception of all multicast packets. |
| IffAutomedia |
Interface flag indicating automatic media selection. |
| IffBroadcast |
Interface flag indicating that the broadcast address is valid. |
| IffDebug |
Interface flag enabling driver debugging. |
| IffDynamic |
Interface flag identifying a dial-up device whose addresses can change. |
| IffLoopback |
Interface flag identifying a loopback interface. |
| IffMaster |
Interface flag identifying a master in a load-balancing arrangement. |
| IffMulticast |
Interface flag indicating multicast support. |
| IffNoarp |
Interface flag disabling ARP. |
| IffNotrailers |
Legacy interface flag requesting that trailer encapsulation not be used. |
| IffPointopoint |
Interface flag identifying a point-to-point link. |
| IffPortsel |
Interface flag indicating that the media type can be selected. |
| IffPromisc |
Interface flag requesting promiscuous packet reception. |
| IffRunning |
Interface flag indicating that the interface is operationally up. |
| IffSlave |
Interface flag identifying a subordinate in a load-balancing arrangement. |
| IffUp |
Interface flag indicating that the interface is administratively enabled. |
| IpMulticastIf |
IPv4 socket option that selects the outgoing multicast interface. |
| IpMulticastLoop |
IPv4 socket option controlling local delivery of outgoing multicast packets. |
| IpMulticastTtl |
IPv4 socket option that sets the multicast time-to-live. |
| IpprotoEsp |
Encapsulation Security Payload protocol |
| IpprotoIcmp |
IP protocol identifier for ICMPv4. |
| IpprotoIcmpv6 |
IP protocol identifier for ICMPv6. |
| IpprotoIp |
Protocol level used to read or set IPv4 socket options. |
| IpprotoIpv6 |
Protocol identifier for IPv6 encapsulation and the IPv6 socket-option level. |
| IpprotoRaw |
Protocol selector for sending raw IP packets with application-supplied headers. |
| IpprotoTcp |
IP protocol identifier for TCP. |
| IpprotoUdp |
IP protocol identifier for UDP. |
| IpTos |
IPv4 socket option that sets the type-of-service field. |
| IpTtl |
IPv4 socket option that sets the unicast time-to-live. |
| Ipv6Checksum |
IPv6 raw-socket option specifying the checksum-field byte offset. |
| Ipv6MulticastHops |
IPv6 socket option that sets the multicast hop limit. |
| Ipv6MulticastIf |
IPv6 socket option that selects the outgoing multicast interface. |
| Ipv6MulticastLoop |
IPv6 socket option controlling local delivery of outgoing multicast packets. |
| Ipv6Pktinfo |
IPv6 ancillary-data type carrying the destination address and interface index. |
| Ipv6Recvdstopts |
IPv6 socket option requesting received destination-option ancillary data. |
| Ipv6Recvhoplimit |
IPv6 socket option requesting received hop-limit ancillary data. |
| Ipv6Recvhopopts |
IPv6 socket option requesting received hop-by-hop-option ancillary data. |
| Ipv6Recvpktinfo |
IPv6 socket option requesting received packet-information ancillary data. |
| Ipv6Recvrthdr |
IPv6 socket option requesting received routing-header ancillary data. |
| Ipv6Recvtclass |
IPv6 socket option requesting received traffic-class ancillary data. |
| Ipv6Tclass |
IPv6 socket option that selects the outgoing traffic class. |
| Ipv6UnicastHops |
IPv6 socket option that sets the unicast hop limit. |
| Ipv6V6only |
IPv6 socket option restricting the socket to IPv6 traffic. |
| JniIdentityHashCode |
Gets the identity hash code assigned to this Java peer by the interop runtime. (Inherited from Object) |
| JniManagedPeerState |
Gets the state flags last assigned by the runtime. (Inherited from JavaObject) |
| JniPeerMembers |
Gets the JNI metadata used to access members of this Java binding. |
| MadvCold |
Memory-advice code requesting that pages become less likely to remain in memory. |
| MadvCollapse |
Memory-advice code requesting immediate collapse into transparent huge pages. |
| MadvDodump |
Memory-advice code restoring inclusion of the range in core dumps. |
| MadvDofork |
Memory-advice code restoring inheritance of the range across fork. |
| MadvDontdump |
Memory-advice code excluding the range from core dumps. |
| MadvDontfork |
Memory-advice code excluding the range from a child created by fork. |
| MadvDontneed |
Memory-advice code allowing pages to be discarded when their current contents are no longer needed. |
| MadvFree |
Memory-advice code allowing eligible private anonymous pages to be reclaimed lazily. |
| MadvHugepage |
Memory-advice code marking a range as eligible for transparent huge pages. |
| MadvHwpoison |
Memory-advice code requesting hardware-poison handling for the pages, for privileged error testing. |
| MadvKeeponfork |
Memory-advice code canceling child-memory zeroing requested by MADV_WIPEONFORK. |
| MadvMergeable |
Memory-advice code marking eligible anonymous pages for kernel same-page merging. |
| MadvNohugepage |
Memory-advice code excluding a range from transparent huge pages. |
| MadvNormal |
Memory-advice code selecting the default access pattern. |
| MadvPageout |
Memory-advice code requesting reclamation of the range's pages. |
| MadvPopulateRead |
Memory-advice code requesting readable page-table population for the range. |
| MadvPopulateWrite |
Memory-advice code requesting writable page-table population for the range. |
| MadvRandom |
Memory-advice code declaring an expected random-access pattern. |
| MadvRemove |
Memory-advice code requesting removal of the range's backing-store contents. |
| MadvSequential |
Memory-advice code declaring an expected sequential-access pattern. |
| MadvSoftOffline |
Memory-advice code requesting that pages be taken out of use without losing their contents. |
| MadvUnmergeable |
Memory-advice code canceling kernel same-page merging for the range. |
| MadvWillneed |
Memory-advice code indicating that the pages will be needed soon. |
| MadvWipeonfork |
Memory-advice code requesting zero-filled contents for the range in children created by fork. |
| MapAnonymous |
Mapping flag selecting anonymous memory rather than file-backed memory. |
| MapFixed |
Mapping flag requiring the requested address and replacing overlapping mappings. |
| MapPrivate |
Mapping flag selecting private copy-on-write updates. |
| MapShared |
Mapping flag selecting updates shared with other mappings of the same object. |
| McastBlockSource |
Multicast option requesting that a source be blocked for a joined group. |
| McastJoinGroup |
Multicast option requesting membership in a group. |
| McastJoinSourceGroup |
Multicast option requesting source-specific group membership. |
| McastLeaveGroup |
Multicast option requesting removal of group membership. |
| McastLeaveSourceGroup |
Multicast option requesting removal of source-specific group membership. |
| McastUnblockSource |
Multicast option requesting that a blocked source be allowed again. |
| MclCurrent |
Memory-locking flag selecting pages currently mapped by the process. |
| MclFuture |
Memory-locking flag selecting pages mapped in the future. |
| MfdCloexec |
Memory-file creation flag requesting descriptor closure when a new program is executed. |
| MsAsync |
Memory-synchronization flag requesting that an update be scheduled without waiting for completion. |
| MsgCtrunc |
Received-message flag indicating that ancillary data was truncated. |
| MsgDontroute |
Send flag requesting delivery without using gateway routing. |
| MsgEor |
Message flag marking the end of a record when the protocol supports records. |
| MsgOob |
Message flag selecting out-of-band data when the protocol supports it. |
| MsgPeek |
Receive flag requesting data without removing it from the socket's receive queue. |
| MsgTrunc |
Message flag identifying truncated data; as a Linux receive input flag, it can request the full datagram length. |
| MsgWaitall |
Receive flag requesting that the call wait for the full requested amount, subject to error and connection-ending conditions. |
| MsInvalidate |
Memory-synchronization flag requesting invalidation of other cached copies of the mapping. |
| MsSync |
Memory-synchronization flag requesting completion before the call returns. |
| NetlinkInetDiag |
SELinux enforces that only system_server and netd may use this netlink socket type. |
| NetlinkNetfilter |
Netlink protocol code for Netfilter communication. |
| NetlinkRoute |
Netlink protocol code for routes, interfaces, addresses and neighbors. |
| NetlinkXfrm |
SELinux enforces that only system_server and netd may use this netlink socket type. |
| NiDgram |
Name-lookup flag selecting datagram-service names rather than stream-service names. |
| NiNamereqd |
Reverse-lookup flag requiring a host name instead of a numeric-address fallback. |
| NiNofqdn |
Reverse-lookup flag requesting only the host part for names in the local domain. |
| NiNumerichost |
Reverse-lookup flag requesting a numeric host address. |
| NiNumericserv |
Reverse-lookup flag requesting a numeric service port. |
| OAccmode |
Mask for extracting the file access-mode bits from open flags. |
| OAppend |
Open flag requesting that each write start at the current end of the file. |
| OCloexec |
Open flag requesting descriptor closure when a new program is executed. |
| OCreat |
Open flag requesting creation when the file does not exist. |
| ODsync |
Open flag requesting data-integrity synchronization for writes. |
| OExcl |
Open flag requesting exclusive creation when used with O_CREAT. |
| ONoctty |
Open flag preventing the opened terminal from becoming the controlling terminal. |
| ONofollow |
Open flag refusing to follow a final symbolic link. |
| ONonblock |
Open flag requesting nonblocking input and output where supported. |
| ORdonly |
Open access-mode value selecting read-only access. |
| ORdwr |
Open access-mode value selecting both read and write access. |
| OSync |
Open flag requesting synchronized file updates, including relevant metadata. |
| OTrunc |
Open flag requesting that a writable regular file be truncated to zero length. |
| OWronly |
Open access-mode value selecting write-only access. |
| PacketIgnoreOutgoing |
Packet-socket option requesting that outgoing packets be ignored. |
| PeerReference |
Gets the JNI object reference for this Java peer. (Inherited from Object) |
| Pollerr |
Returned poll-event flag indicating an error condition. |
| Pollhup |
Returned poll-event flag indicating a hangup. |
| Pollin |
Poll-event flag indicating data available to read. |
| Pollnval |
Returned poll-event flag indicating an invalid descriptor. |
| Pollout |
Poll-event flag indicating that writing can proceed. |
| Pollpri |
Poll-event flag indicating an exceptional or high-priority condition. |
| Pollrdband |
Poll-event flag indicating priority-band data available to read. |
| Pollrdnorm |
Poll-event flag indicating normal data available to read. |
| Pollwrband |
Poll-event flag indicating that priority-band data can be written. |
| Pollwrnorm |
Poll-event flag indicating that normal data can be written. |
| PrGetDumpable |
Process-control operation that reads the process's core-dump setting. |
| ProtExec |
Memory-protection flag requesting execute access. |
| ProtNone |
Memory-protection value requesting no access. |
| ProtRead |
Memory-protection flag requesting read access. |
| ProtWrite |
Memory-protection flag requesting write access. |
| PrSetDumpable |
Process-control operation that changes the process's core-dump setting. |
| PrSetNoNewPrivs |
Process-control operation preventing later program execution from granting new privileges. |
| ROk |
Access-check flag for read permission. |
| RtmgrpNeigh |
Routing-Netlink multicast-group mask for neighbor-table changes. |
| RtScopeHost |
Route-scope code for destinations local to the host. |
| RtScopeLink |
Route-scope code for destinations on the directly connected link. |
| RtScopeNowhere |
Route-scope code identifying an invalid destination scope. |
| RtScopeSite |
Route-scope code for destinations within the local site. |
| RtScopeUniverse |
Route-scope code for global scope. |
| Sc2CBind |
Sysconf selector for support for the POSIX.2 C-language bindings. |
| Sc2CDev |
Sysconf selector for support for POSIX.2 C-language development utilities. |
| Sc2CharTerm |
Sysconf selector for support for character-terminal facilities. |
| Sc2CVersion |
Legacy sysconf selector naming the POSIX.2 C-binding version. |
| Sc2FortDev |
Sysconf selector for support for Fortran development utilities. |
| Sc2FortRun |
Sysconf selector for support for Fortran runtime utilities. |
| Sc2Localedef |
Sysconf selector for support for locale-definition utilities. |
| Sc2SwDev |
Sysconf selector for support for software-development utilities. |
| Sc2Upe |
Sysconf selector for support for the POSIX.2 User Portability Utilities option. |
| Sc2Version |
Sysconf selector for the supported POSIX.2 specification version. |
| ScAioListioMax |
Sysconf selector for the maximum operations in one list-I/O request. |
| ScAioMax |
Sysconf selector for the maximum outstanding asynchronous I/O operations. |
| ScAioPrioDeltaMax |
Sysconf selector for the maximum asynchronous-I/O priority adjustment. |
| ScArgMax |
Sysconf selector for the maximum combined argument and environment size for program execution. |
| ScAsynchronousIo |
Sysconf selector for support for asynchronous input and output. |
| ScAtexitMax |
Sysconf selector for the maximum registered process-exit functions. |
| ScAvphysPages |
Sysconf selector for the number of currently available physical-memory pages. |
| ScBcBaseMax |
Sysconf selector for the largest output-base value supported by bc. |
| ScBcDimMax |
Sysconf selector for the largest array size supported by bc. |
| ScBcScaleMax |
Sysconf selector for the largest scale value supported by bc. |
| ScBcStringMax |
Sysconf selector for the longest string supported by bc. |
| ScChildMax |
Sysconf selector for the per-user process limit. |
| ScClkTck |
Sysconf selector for the number of clock ticks per second used by process accounting. |
| ScCollWeightsMax |
Sysconf selector for the maximum weights in a locale's collation-order definition. |
| ScDelaytimerMax |
Sysconf selector for the maximum timer-expiration overrun count. |
| ScExprNestMax |
Sysconf selector for the maximum expression-nesting depth supported by expr. |
| ScFsync |
Sysconf selector for support for file synchronization. |
| ScGetgrRSizeMax |
Sysconf selector for a suggested buffer size for reentrant group lookups. |
| ScGetpwRSizeMax |
Sysconf selector for a suggested buffer size for reentrant password-database lookups. |
| ScIovMax |
Sysconf selector for the maximum buffers in one vector input/output operation. |
| ScJobControl |
Sysconf selector for support for job control. |
| ScLineMax |
Sysconf selector for the maximum input-line length supported by standard utilities. |
| ScLoginNameMax |
Sysconf selector for the maximum login-name buffer length. |
| ScMappedFiles |
Sysconf selector for support for memory-mapped files. |
| ScMemlock |
Sysconf selector for support for locking process memory. |
| ScMemlockRange |
Sysconf selector for support for locking memory ranges. |
| ScMemoryProtection |
Sysconf selector for support for memory protection. |
| ScMessagePassing |
Sysconf selector for support for POSIX message passing. |
| ScMqOpenMax |
Sysconf selector for the maximum message queues open by a process. |
| ScMqPrioMax |
Sysconf selector for the number of supported message-queue priority levels. |
| ScNgroupsMax |
Sysconf selector for the maximum supplementary group IDs per process. |
| ScNprocessorsConf |
Sysconf selector for the number of configured processors. |
| ScNprocessorsOnln |
Sysconf selector for the number of processors currently online. |
| ScOpenMax |
Sysconf selector for the per-process open-file-descriptor limit. |
| ScPagesize |
Sysconf selector for the system memory-page size in bytes. |
| ScPageSize |
Sysconf selector for the system memory-page size in bytes; queries the same value as _SC_PAGESIZE. |
| ScPassMax |
Legacy sysconf selector for the maximum significant password length. |
| ScPhysPages |
Sysconf selector for the total number of physical-memory pages. |
| ScPrioritizedIo |
Sysconf selector for support for prioritized input and output. |
| ScPriorityScheduling |
Sysconf selector for support for process-priority scheduling. |
| ScRealtimeSignals |
Sysconf selector for support for POSIX real-time signals. |
| ScReDupMax |
Sysconf selector for the maximum count in a repeated regular-expression interval. |
| ScRtsigMax |
Sysconf selector for the number of real-time signals supported. |
| ScSavedIds |
Sysconf selector for support for saved user and group IDs. |
| ScSemaphores |
Sysconf selector for support for POSIX semaphores. |
| ScSemNsemsMax |
Sysconf selector for the maximum semaphores available to a process. |
| ScSemValueMax |
Sysconf selector for the largest semaphore value. |
| ScSharedMemoryObjects |
Sysconf selector for support for POSIX shared-memory objects. |
| ScSigqueueMax |
Sysconf selector for the maximum queued signals available to a process. |
| ScStreamMax |
Sysconf selector for the maximum standard-I/O streams open by a process. |
| ScSynchronizedIo |
Sysconf selector for support for synchronized input and output. |
| ScThreadAttrStackaddr |
Sysconf selector for support for specifying a thread's stack address. |
| ScThreadAttrStacksize |
Sysconf selector for support for specifying a thread's stack size. |
| ScThreadDestructorIterations |
Sysconf selector for the maximum thread-specific-data destructor passes. |
| ScThreadKeysMax |
Sysconf selector for the maximum thread-specific-data keys. |
| ScThreadPrioInherit |
Sysconf selector for support for thread-priority inheritance. |
| ScThreadPrioProtect |
Sysconf selector for support for thread-priority protection. |
| ScThreadPriorityScheduling |
Sysconf selector for support for thread-priority scheduling. |
| ScThreads |
Sysconf selector for support for POSIX threads. |
| ScThreadSafeFunctions |
Sysconf selector for support for thread-safe functions. |
| ScThreadStackMin |
Sysconf selector for the minimum thread-stack size in bytes. |
| ScThreadThreadsMax |
Sysconf selector for the maximum threads per process. |
| ScTimerMax |
Sysconf selector for the maximum POSIX timers per process. |
| ScTimers |
Sysconf selector for support for POSIX timers. |
| ScTtyNameMax |
Sysconf selector for the maximum terminal-name buffer length. |
| ScTznameMax |
Sysconf selector for the maximum time-zone-name length. |
| ScVersion |
Sysconf selector for the supported POSIX base specification version. |
| ScXbs5Ilp32Off32 |
Legacy sysconf selector for a data model with 32-bit int, long, pointer and file-offset types. |
| ScXbs5Ilp32Offbig |
Legacy sysconf selector for 32-bit int, long and pointer types with file offsets of at least 64 bits. |
| ScXbs5Lp64Off64 |
Legacy sysconf selector for 32-bit int and 64-bit long, pointer and file-offset types. |
| ScXbs5LpbigOffbig |
Legacy sysconf selector for int of at least 32 bits and long, pointer and file-offset types of at least 64 bits. |
| ScXopenCrypt |
Sysconf selector for support for X/Open cryptographic functions. |
| ScXopenEnhI18n |
Sysconf selector for support for enhanced internationalization. |
| ScXopenLegacy |
Sysconf selector for support for X/Open legacy interfaces. |
| ScXopenRealtime |
Sysconf selector for support for X/Open real-time facilities. |
| ScXopenRealtimeThreads |
Sysconf selector for support for X/Open real-time threads. |
| ScXopenShm |
Sysconf selector for support for X/Open shared-memory facilities. |
| ScXopenUnix |
Sysconf selector for support for the X/Open UNIX option. |
| ScXopenVersion |
Sysconf selector for the supported X/Open specification version. |
| ScXopenXcuVersion |
Legacy sysconf selector for the X/Open commands-and-utilities specification version. |
| SeekCur |
File-seek origin selecting the current file offset. |
| SeekEnd |
File-seek origin selecting the current end of the file. |
| SeekSet |
File-seek origin selecting the start of the file. |
| ShutRd |
Socket-shutdown mode disabling further receives. |
| ShutRdwr |
Socket-shutdown mode disabling further sends and receives. |
| ShutWr |
Socket-shutdown mode disabling further sends. |
| SIfblk |
File-type value for a block device. |
| SIfchr |
File-type value for a character device. |
| SIfdir |
File-type value for a directory. |
| SIfifo |
File-type value for a named pipe. |
| SIflnk |
File-type value for a symbolic link. |
| SIfmt |
Mask for extracting the file-type field from mode bits. |
| SIfreg |
File-type value for a regular file. |
| SIfsock |
File-type value for a socket. |
| Sigabrt |
Signal conventionally used to abort a process. |
| Sigalrm |
Signal delivered when a real-time alarm expires. |
| Sigbus |
Signal for a bus error or other invalid memory-object access. |
| Sigchld |
Signal reporting a child-process state change. |
| Sigcont |
Signal requesting continuation of a stopped process. |
| Sigfpe |
Signal for an erroneous arithmetic operation. |
| Sighup |
Signal for a terminal hangup or loss of the controlling process. |
| Sigill |
Signal for an illegal instruction. |
| Sigint |
Signal for an interrupt request from the terminal. |
| Sigio |
Signal for asynchronous input/output events. |
| Sigkill |
Uncatchable signal that terminates the target process. |
| Sigpipe |
Signal generated by a write to a pipe or connection without a reader. |
| Sigprof |
Signal delivered when a profiling timer expires. |
| Sigpwr |
Signal conventionally used to report a power failure. |
| Sigquit |
Signal for a quit request from the terminal. |
| Sigrtmax |
The highest signal number available for application real-time signals. |
| Sigrtmin |
The lowest signal number available for application real-time signals. |
| Sigsegv |
Signal for an invalid memory reference. |
| Sigstkflt |
Signal reserved for a coprocessor stack fault; unused by Linux. |
| Sigstop |
Uncatchable signal that stops the target process. |
| Sigsys |
Signal for a bad system call, including a seccomp trap. |
| Sigterm |
Signal requesting process termination. |
| Sigtrap |
Signal for a trace or breakpoint trap. |
| Sigtstp |
Signal for a stop request from the terminal. |
| Sigttin |
Signal for terminal input attempted by a background process group. |
| Sigttou |
Signal for terminal output attempted by a background process group. |
| Sigurg |
Signal indicating urgent data on a socket. |
| Sigusr1 |
First signal reserved for application-defined use. |
| Sigusr2 |
Second signal reserved for application-defined use. |
| Sigvtalrm |
Signal delivered when a virtual CPU-time alarm expires. |
| Sigwinch |
Signal reporting a terminal-window size change. |
| Sigxcpu |
Signal reporting that the CPU-time limit was exceeded. |
| Sigxfsz |
Signal reporting that the file-size limit was exceeded. |
| Siocgifaddr |
Input/output-control request that reads an interface's IPv4 address. |
| Siocgifbrdaddr |
Input/output-control request that reads an interface's IPv4 broadcast address. |
| Siocgifdstaddr |
Input/output-control request that reads a point-to-point interface's IPv4 destination address. |
| Siocgifnetmask |
Input/output-control request that reads an interface's IPv4 network mask. |
| SIrgrp |
File-mode bit granting read permission to the file's group. |
| SIroth |
File-mode bit granting read permission to other users. |
| SIrusr |
File-mode bit granting read permission to the file's owner. |
| SIrwxg |
File-mode mask for the group's read, write and execute/search permissions. |
| SIrwxo |
File-mode mask for other users' read, write and execute/search permissions. |
| SIrwxu |
File-mode mask for the owner's read, write and execute/search permissions. |
| SIsgid |
Set-group-ID mode bit; on directories, it also controls group inheritance. |
| SIsuid |
Set-user-ID-on-execution mode bit. |
| SIsvtx |
Directory mode bit restricting deletion and renaming of entries. |
| SIwgrp |
File-mode bit granting write permission to the file's group. |
| SIwoth |
File-mode bit granting write permission to other users. |
| SIwusr |
File-mode bit granting write permission to the file's owner. |
| SIxgrp |
File-mode bit granting execute or directory-search permission to the file's group. |
| SIxoth |
File-mode bit granting execute or directory-search permission to other users. |
| SIxusr |
File-mode bit granting execute or directory-search permission to the file's owner. |
| SoBindtodevice |
Socket option restricting traffic to a selected network interface. |
| SoBroadcast |
Socket option enabling transmission to broadcast addresses. |
| SockCloexec |
Set the close-on-exec ( |
| SockDgram |
Socket-type code for connectionless datagrams. |
| SockNonblock |
Set the O_NONBLOCK file status flag on the file descriptor
created by |
| SockRaw |
Socket-type code for direct access to a network protocol. |
| SockSeqpacket |
Socket-type code for a reliable, ordered connection that preserves message boundaries. |
| SockStream |
Socket-type code for a reliable byte stream. |
| SoDebug |
Socket option enabling protocol debugging where supported. |
| SoDontroute |
Socket option requesting that outgoing packets bypass gateway routing. |
| SoError |
Socket option that reads and clears a pending socket error. |
| SoKeepalive |
Socket option enabling keepalive checks for a connection-oriented socket. |
| SoLinger |
Socket option controlling how close handles queued outgoing data. |
| SolPacket |
Socket-option level for packet sockets. |
| SolSocket |
Socket-option level for options common to the socket layer. |
| SolUdp |
Socket-option level for UDP-specific options. |
| SoOobinline |
Socket option placing out-of-band data in the normal receive stream. |
| SoPasscred |
Local-socket option requesting credentials with received messages. |
| SoPeercred |
Local-socket option that reads the connected peer's credentials. |
| SoRcvbuf |
Socket option that controls the receive-buffer size. |
| SoRcvlowat |
Socket option that sets the receive low-water mark. |
| SoRcvtimeo |
Socket option that sets the receive-operation timeout. |
| SoReuseaddr |
Socket option enabling address reuse subject to protocol-specific rules. |
| SoSndbuf |
Socket option that controls the send-buffer size. |
| SoSndlowat |
Socket option identifying the send low-water mark; Linux does not allow changing it. |
| SoSndtimeo |
Socket option that sets the send-operation timeout. |
| SoType |
Socket option that reads the socket's type. |
| StderrFileno |
File-descriptor number reserved for standard error. |
| StdinFileno |
File-descriptor number reserved for standard input. |
| StdoutFileno |
File-descriptor number reserved for standard output. |
| StMandlock |
File-system flag for the legacy mandatory-locking mount option. |
| StNoatime |
File-system flag disabling updates to file access times. |
| StNodev |
File-system flag preventing interpretation of device-special files. |
| StNodiratime |
File-system flag disabling updates to directory access times. |
| StNoexec |
File-system flag prohibiting execution of programs from the file system. |
| StNosuid |
File-system flag disabling set-user-ID and set-group-ID execution effects. |
| StRdonly |
File-system flag indicating a read-only mount. |
| StRelatime |
File-system flag selecting relative access-time updates. |
| StSynchronous |
File-system flag requesting synchronous file updates. |
| TcpNodelay |
TCP option disabling the Nagle algorithm for combining small sends. |
| TcpUserTimeout |
TCP option limiting how long data may remain unacknowledged or blocked by a zero window, in milliseconds. |
| 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) |
| UdpGro |
UDP option enabling receipt of multiple datagrams in one buffer with segment-size control data. |
| UdpSegment |
UDP option specifying the payload size used by transmit segmentation offload. |
| VmaddrCidAny |
The virtio-vsock |
| VmaddrCidHost |
The virtio-vsock |
| VmaddrCidLocal |
The virtio-vsock |
| VmaddrPortAny |
The virtio-vsock |
| Wcontinued |
Wait option selecting children resumed by SIGCONT. |
| Wexited |
Waitid option selecting terminated children. |
| Wnohang |
Wait option requesting an immediate return when no selected child has changed state. |
| Wnowait |
Waitid option reporting status without consuming the child's waitable state. |
| WOk |
Access-check flag for write permission. |
| Wstopped |
Waitid option selecting stopped children. |
| Wuntraced |
Waitpid option also reporting children stopped by a signal. |
| XOk |
Access-check flag for execute or directory-search permission. |
Methods
| Name | Description |
|---|---|
| Clone() |
Creates and returns a copy of this object. (Inherited from Object) |
| Construct(JniObjectReference, JniObjectReferenceOptions) |
Delegates construction of this peer to the runtime's value manager. (Inherited from JavaObject) |
| Dispose() |
Releases the resources held by this Java peer. (Inherited from Object) |
| Dispose(Boolean) |
Releases the resources held by this Java peer. (Inherited from Object) |
| DisposeUnlessReferenced() |
Asks the value manager to dispose this peer unless its mapping retains this same managed instance. (Inherited from JavaObject) |
| Equals(Object) |
Tests whether another managed peer refers to the same Java object. (Inherited from JavaObject) |
| Equals(Object) |
Indicates whether some other object is "equal to" this one. (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 a hash code value for the object. (Inherited from Object) |
| JavaFinalize() |
Obsolete.
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. (Inherited from Object) |
| Notify() |
Wakes up a single thread that is waiting on this object's monitor. (Inherited from Object) |
| NotifyAll() |
Wakes up all threads that are waiting on this object's monitor. (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) |
| SetPeerReference(JniObjectReference, JniObjectReferenceOptions) |
Stores a reference value in the control block without creating a JNI reference copy. (Inherited from JavaObject) |
| ToArray<T>() |
Creates a managed array from this Java array wrapper. (Inherited from Object) |
| ToString() |
Returns a string representation of the object. (Inherited from Object) |
| UnregisterFromRuntime() |
Unregisters this Java peer from the interop runtime. (Inherited from Object) |
| Wait() |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>. (Inherited from Object) |
| Wait(Int64, Int32) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (Inherited from Object) |
| Wait(Int64) |
Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed. (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
| Name | Description |
|---|---|
| IJavaPeerable.Disposed() |
Marks this peer as disposed and calls |
| IJavaPeerable.Finalized() |
Marks this peer as disposed and calls |
| IJavaPeerable.JniObjectReferenceControlBlock |
Gets the native control-block pointer used by this peer. (Inherited from JavaObject) |
| IJavaPeerable.SetJniIdentityHashCode(Int32) |
Stores the identity hash code supplied by the runtime. (Inherited from JavaObject) |
| IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) |
Replaces the stored managed peer state flags. (Inherited from JavaObject) |
| IJavaPeerable.SetPeerReference(JniObjectReference) |
Updates the peer reference and releases a disposed peer's control block when the reference is invalid. (Inherited from JavaObject) |
Extension Methods
| Name | Description |
|---|---|
| GetJniTypeName(IJavaPeerable) |
Gets the JNI name of the type of the instance |
| JavaAs<TResult>(IJavaPeerable) |
Try to coerce |
| JavaCast<TResult>(IJavaObject) |
Performs an Android runtime-checked type conversion. |
| JavaCast<TResult>(IJavaObject) |
Reuses a compatible managed peer or obtains a wrapper of the requested type. |
| TryJavaCast<TResult>(IJavaPeerable, TResult) |
Try to coerce |