Android APIs
public final class

OsConstants

extends Object
java.lang.Object
   ↳ android.system.OsConstants

Class Overview

Constants and helper functions for use with Os.

Summary

Fields
public static final int AF_INET
public static final int AF_INET6
public static final int AF_UNIX
public static final int AF_UNSPEC
public static final int AI_ADDRCONFIG
public static final int AI_ALL
public static final int AI_CANONNAME
public static final int AI_NUMERICHOST
public static final int AI_NUMERICSERV
public static final int AI_PASSIVE
public static final int AI_V4MAPPED
public static final int CAP_AUDIT_CONTROL
public static final int CAP_AUDIT_WRITE
public static final int CAP_BLOCK_SUSPEND
public static final int CAP_CHOWN
public static final int CAP_DAC_OVERRIDE
public static final int CAP_DAC_READ_SEARCH
public static final int CAP_FOWNER
public static final int CAP_FSETID
public static final int CAP_IPC_LOCK
public static final int CAP_IPC_OWNER
public static final int CAP_KILL
public static final int CAP_LAST_CAP
public static final int CAP_LEASE
public static final int CAP_LINUX_IMMUTABLE
public static final int CAP_MAC_ADMIN
public static final int CAP_MAC_OVERRIDE
public static final int CAP_MKNOD
public static final int CAP_NET_ADMIN
public static final int CAP_NET_BIND_SERVICE
public static final int CAP_NET_BROADCAST
public static final int CAP_NET_RAW
public static final int CAP_SETFCAP
public static final int CAP_SETGID
public static final int CAP_SETPCAP
public static final int CAP_SETUID
public static final int CAP_SYSLOG
public static final int CAP_SYS_ADMIN
public static final int CAP_SYS_BOOT
public static final int CAP_SYS_CHROOT
public static final int CAP_SYS_MODULE
public static final int CAP_SYS_NICE
public static final int CAP_SYS_PACCT
public static final int CAP_SYS_PTRACE
public static final int CAP_SYS_RAWIO
public static final int CAP_SYS_RESOURCE
public static final int CAP_SYS_TIME
public static final int CAP_SYS_TTY_CONFIG
public static final int CAP_WAKE_ALARM
public static final int E2BIG
public static final int EACCES
public static final int EADDRINUSE
public static final int EADDRNOTAVAIL
public static final int EAFNOSUPPORT
public static final int EAGAIN
public static final int EAI_AGAIN
public static final int EAI_BADFLAGS
public static final int EAI_FAIL
public static final int EAI_FAMILY
public static final int EAI_MEMORY
public static final int EAI_NODATA
public static final int EAI_NONAME
public static final int EAI_OVERFLOW
public static final int EAI_SERVICE
public static final int EAI_SOCKTYPE
public static final int EAI_SYSTEM
public static final int EALREADY
public static final int EBADF
public static final int EBADMSG
public static final int EBUSY
public static final int ECANCELED
public static final int ECHILD
public static final int ECONNABORTED
public static final int ECONNREFUSED
public static final int ECONNRESET
public static final int EDEADLK
public static final int EDESTADDRREQ
public static final int EDOM
public static final int EDQUOT
public static final int EEXIST
public static final int EFAULT
public static final int EFBIG
public static final int EHOSTUNREACH
public static final int EIDRM
public static final int EILSEQ
public static final int EINPROGRESS
public static final int EINTR
public static final int EINVAL
public static final int EIO
public static final int EISCONN
public static final int EISDIR
public static final int ELOOP
public static final int EMFILE
public static final int EMLINK
public static final int EMSGSIZE
public static final int EMULTIHOP
public static final int ENAMETOOLONG
public static final int ENETDOWN
public static final int ENETRESET
public static final int ENETUNREACH
public static final int ENFILE
public static final int ENOBUFS
public static final int ENODATA
public static final int ENODEV
public static final int ENOENT
public static final int ENOEXEC
public static final int ENOLCK
public static final int ENOLINK
public static final int ENOMEM
public static final int ENOMSG
public static final int ENOPROTOOPT
public static final int ENOSPC
public static final int ENOSR
public static final int ENOSTR
public static final int ENOSYS
public static final int ENOTCONN
public static final int ENOTDIR
public static final int ENOTEMPTY
public static final int ENOTSOCK
public static final int ENOTSUP
public static final int ENOTTY
public static final int ENXIO
public static final int EOPNOTSUPP
public static final int EOVERFLOW
public static final int EPERM
public static final int EPIPE
public static final int EPROTO
public static final int EPROTONOSUPPORT
public static final int EPROTOTYPE
public static final int ERANGE
public static final int EROFS
public static final int ESPIPE
public static final int ESRCH
public static final int ESTALE
public static final int ETIME
public static final int ETIMEDOUT
public static final int ETXTBSY
public static final int EXDEV
public static final int EXIT_FAILURE
public static final int EXIT_SUCCESS
public static final int FD_CLOEXEC
public static final int FIONREAD
public static final int F_DUPFD
public static final int F_GETFD
public static final int F_GETFL
public static final int F_GETLK
public static final int F_GETLK64
public static final int F_GETOWN
public static final int F_OK
public static final int F_RDLCK
public static final int F_SETFD
public static final int F_SETFL
public static final int F_SETLK
public static final int F_SETLK64
public static final int F_SETLKW
public static final int F_SETLKW64
public static final int F_SETOWN
public static final int F_UNLCK
public static final int F_WRLCK
public static final int IFA_F_DADFAILED
public static final int IFA_F_DEPRECATED
public static final int IFA_F_HOMEADDRESS
public static final int IFA_F_NODAD
public static final int IFA_F_OPTIMISTIC
public static final int IFA_F_PERMANENT
public static final int IFA_F_SECONDARY
public static final int IFA_F_TEMPORARY
public static final int IFA_F_TENTATIVE
public static final int IFF_ALLMULTI
public static final int IFF_AUTOMEDIA
public static final int IFF_BROADCAST
public static final int IFF_DEBUG
public static final int IFF_DYNAMIC
public static final int IFF_LOOPBACK
public static final int IFF_MASTER
public static final int IFF_MULTICAST
public static final int IFF_NOARP
public static final int IFF_NOTRAILERS
public static final int IFF_POINTOPOINT
public static final int IFF_PORTSEL
public static final int IFF_PROMISC
public static final int IFF_RUNNING
public static final int IFF_SLAVE
public static final int IFF_UP
public static final int IPPROTO_ICMP
public static final int IPPROTO_ICMPV6
public static final int IPPROTO_IP
public static final int IPPROTO_IPV6
public static final int IPPROTO_RAW
public static final int IPPROTO_TCP
public static final int IPPROTO_UDP
public static final int IPV6_CHECKSUM
public static final int IPV6_MULTICAST_HOPS
public static final int IPV6_MULTICAST_IF
public static final int IPV6_MULTICAST_LOOP
public static final int IPV6_RECVDSTOPTS
public static final int IPV6_RECVHOPLIMIT
public static final int IPV6_RECVHOPOPTS
public static final int IPV6_RECVPKTINFO
public static final int IPV6_RECVRTHDR
public static final int IPV6_RECVTCLASS
public static final int IPV6_TCLASS
public static final int IPV6_UNICAST_HOPS
public static final int IPV6_V6ONLY
public static final int IP_MULTICAST_IF
public static final int IP_MULTICAST_LOOP
public static final int IP_MULTICAST_TTL
public static final int IP_TOS
public static final int IP_TTL
public static final int MAP_FIXED
public static final int MAP_PRIVATE
public static final int MAP_SHARED
public static final int MCAST_BLOCK_SOURCE
public static final int MCAST_JOIN_GROUP
public static final int MCAST_JOIN_SOURCE_GROUP
public static final int MCAST_LEAVE_GROUP
public static final int MCAST_LEAVE_SOURCE_GROUP
public static final int MCAST_UNBLOCK_SOURCE
public static final int MCL_CURRENT
public static final int MCL_FUTURE
public static final int MSG_CTRUNC
public static final int MSG_DONTROUTE
public static final int MSG_EOR
public static final int MSG_OOB
public static final int MSG_PEEK
public static final int MSG_TRUNC
public static final int MSG_WAITALL
public static final int MS_ASYNC
public static final int MS_INVALIDATE
public static final int MS_SYNC
public static final int NI_DGRAM
public static final int NI_NAMEREQD
public static final int NI_NOFQDN
public static final int NI_NUMERICHOST
public static final int NI_NUMERICSERV
public static final int O_ACCMODE
public static final int O_APPEND
public static final int O_CREAT
public static final int O_EXCL
public static final int O_NOCTTY
public static final int O_NOFOLLOW
public static final int O_NONBLOCK
public static final int O_RDONLY
public static final int O_RDWR
public static final int O_SYNC
public static final int O_TRUNC
public static final int O_WRONLY
public static final int POLLERR
public static final int POLLHUP
public static final int POLLIN
public static final int POLLNVAL
public static final int POLLOUT
public static final int POLLPRI
public static final int POLLRDBAND
public static final int POLLRDNORM
public static final int POLLWRBAND
public static final int POLLWRNORM
public static final int PROT_EXEC
public static final int PROT_NONE
public static final int PROT_READ
public static final int PROT_WRITE
public static final int PR_GET_DUMPABLE
public static final int PR_SET_DUMPABLE
public static final int PR_SET_NO_NEW_PRIVS
public static final int RT_SCOPE_HOST
public static final int RT_SCOPE_LINK
public static final int RT_SCOPE_NOWHERE
public static final int RT_SCOPE_SITE
public static final int RT_SCOPE_UNIVERSE
public static final int R_OK
public static final int SEEK_CUR
public static final int SEEK_END
public static final int SEEK_SET
public static final int SHUT_RD
public static final int SHUT_RDWR
public static final int SHUT_WR
public static final int SIGABRT
public static final int SIGALRM
public static final int SIGBUS
public static final int SIGCHLD
public static final int SIGCONT
public static final int SIGFPE
public static final int SIGHUP
public static final int SIGILL
public static final int SIGINT
public static final int SIGIO
public static final int SIGKILL
public static final int SIGPIPE
public static final int SIGPROF
public static final int SIGPWR
public static final int SIGQUIT
public static final int SIGRTMAX
public static final int SIGRTMIN
public static final int SIGSEGV
public static final int SIGSTKFLT
public static final int SIGSTOP
public static final int SIGSYS
public static final int SIGTERM
public static final int SIGTRAP
public static final int SIGTSTP
public static final int SIGTTIN
public static final int SIGTTOU
public static final int SIGURG
public static final int SIGUSR1
public static final int SIGUSR2
public static final int SIGVTALRM
public static final int SIGWINCH
public static final int SIGXCPU
public static final int SIGXFSZ
public static final int SIOCGIFADDR
public static final int SIOCGIFBRDADDR
public static final int SIOCGIFDSTADDR
public static final int SIOCGIFNETMASK
public static final int SOCK_DGRAM
public static final int SOCK_RAW
public static final int SOCK_SEQPACKET
public static final int SOCK_STREAM
public static final int SOL_SOCKET
public static final int SO_BINDTODEVICE
public static final int SO_BROADCAST
public static final int SO_DEBUG
public static final int SO_DONTROUTE
public static final int SO_ERROR
public static final int SO_KEEPALIVE
public static final int SO_LINGER
public static final int SO_OOBINLINE
public static final int SO_PASSCRED
public static final int SO_PEERCRED
public static final int SO_RCVBUF
public static final int SO_RCVLOWAT
public static final int SO_RCVTIMEO
public static final int SO_REUSEADDR
public static final int SO_SNDBUF
public static final int SO_SNDLOWAT
public static final int SO_SNDTIMEO
public static final int SO_TYPE
public static final int STDERR_FILENO
public static final int STDIN_FILENO
public static final int STDOUT_FILENO
public static final int S_IFBLK
public static final int S_IFCHR
public static final int S_IFDIR
public static final int S_IFIFO
public static final int S_IFLNK
public static final int S_IFMT
public static final int S_IFREG
public static final int S_IFSOCK
public static final int S_IRGRP
public static final int S_IROTH
public static final int S_IRUSR
public static final int S_IRWXG
public static final int S_IRWXO
public static final int S_IRWXU
public static final int S_ISGID
public static final int S_ISUID
public static final int S_ISVTX
public static final int S_IWGRP
public static final int S_IWOTH
public static final int S_IWUSR
public static final int S_IXGRP
public static final int S_IXOTH
public static final int S_IXUSR
public static final int TCP_NODELAY
public static final int WCONTINUED
public static final int WEXITED
public static final int WNOHANG
public static final int WNOWAIT
public static final int WSTOPPED
public static final int WUNTRACED
public static final int W_OK
public static final int X_OK
public static final int _SC_2_CHAR_TERM
public static final int _SC_2_C_BIND
public static final int _SC_2_C_DEV
public static final int _SC_2_C_VERSION
public static final int _SC_2_FORT_DEV
public static final int _SC_2_FORT_RUN
public static final int _SC_2_LOCALEDEF
public static final int _SC_2_SW_DEV
public static final int _SC_2_UPE
public static final int _SC_2_VERSION
public static final int _SC_AIO_LISTIO_MAX
public static final int _SC_AIO_MAX
public static final int _SC_AIO_PRIO_DELTA_MAX
public static final int _SC_ARG_MAX
public static final int _SC_ASYNCHRONOUS_IO
public static final int _SC_ATEXIT_MAX
public static final int _SC_AVPHYS_PAGES
public static final int _SC_BC_BASE_MAX
public static final int _SC_BC_DIM_MAX
public static final int _SC_BC_SCALE_MAX
public static final int _SC_BC_STRING_MAX
public static final int _SC_CHILD_MAX
public static final int _SC_CLK_TCK
public static final int _SC_COLL_WEIGHTS_MAX
public static final int _SC_DELAYTIMER_MAX
public static final int _SC_EXPR_NEST_MAX
public static final int _SC_FSYNC
public static final int _SC_GETGR_R_SIZE_MAX
public static final int _SC_GETPW_R_SIZE_MAX
public static final int _SC_IOV_MAX
public static final int _SC_JOB_CONTROL
public static final int _SC_LINE_MAX
public static final int _SC_LOGIN_NAME_MAX
public static final int _SC_MAPPED_FILES
public static final int _SC_MEMLOCK
public static final int _SC_MEMLOCK_RANGE
public static final int _SC_MEMORY_PROTECTION
public static final int _SC_MESSAGE_PASSING
public static final int _SC_MQ_OPEN_MAX
public static final int _SC_MQ_PRIO_MAX
public static final int _SC_NGROUPS_MAX
public static final int _SC_NPROCESSORS_CONF
public static final int _SC_NPROCESSORS_ONLN
public static final int _SC_OPEN_MAX
public static final int _SC_PAGESIZE
public static final int _SC_PAGE_SIZE
public static final int _SC_PASS_MAX
public static final int _SC_PHYS_PAGES
public static final int _SC_PRIORITIZED_IO
public static final int _SC_PRIORITY_SCHEDULING
public static final int _SC_REALTIME_SIGNALS
public static final int _SC_RE_DUP_MAX
public static final int _SC_RTSIG_MAX
public static final int _SC_SAVED_IDS
public static final int _SC_SEMAPHORES
public static final int _SC_SEM_NSEMS_MAX
public static final int _SC_SEM_VALUE_MAX
public static final int _SC_SHARED_MEMORY_OBJECTS
public static final int _SC_SIGQUEUE_MAX
public static final int _SC_STREAM_MAX
public static final int _SC_SYNCHRONIZED_IO
public static final int _SC_THREADS
public static final int _SC_THREAD_ATTR_STACKADDR
public static final int _SC_THREAD_ATTR_STACKSIZE
public static final int _SC_THREAD_DESTRUCTOR_ITERATIONS
public static final int _SC_THREAD_KEYS_MAX
public static final int _SC_THREAD_PRIORITY_SCHEDULING
public static final int _SC_THREAD_PRIO_INHERIT
public static final int _SC_THREAD_PRIO_PROTECT
public static final int _SC_THREAD_SAFE_FUNCTIONS
public static final int _SC_THREAD_STACK_MIN
public static final int _SC_THREAD_THREADS_MAX
public static final int _SC_TIMERS
public static final int _SC_TIMER_MAX
public static final int _SC_TTY_NAME_MAX
public static final int _SC_TZNAME_MAX
public static final int _SC_VERSION
public static final int _SC_XBS5_ILP32_OFF32
public static final int _SC_XBS5_ILP32_OFFBIG
public static final int _SC_XBS5_LP64_OFF64
public static final int _SC_XBS5_LPBIG_OFFBIG
public static final int _SC_XOPEN_CRYPT
public static final int _SC_XOPEN_ENH_I18N
public static final int _SC_XOPEN_LEGACY
public static final int _SC_XOPEN_REALTIME
public static final int _SC_XOPEN_REALTIME_THREADS
public static final int _SC_XOPEN_SHM
public static final int _SC_XOPEN_UNIX
public static final int _SC_XOPEN_VERSION
public static final int _SC_XOPEN_XCU_VERSION
Public Methods
static boolean S_ISBLK(int mode)
Tests whether the given mode is a block device.
static boolean S_ISCHR(int mode)
Tests whether the given mode is a character device.
static boolean S_ISDIR(int mode)
Tests whether the given mode is a directory.
static boolean S_ISFIFO(int mode)
Tests whether the given mode is a FIFO.
static boolean S_ISLNK(int mode)
Tests whether the given mode is a symbolic link.
static boolean S_ISREG(int mode)
Tests whether the given mode is a regular file.
static boolean S_ISSOCK(int mode)
Tests whether the given mode is a socket.
static boolean WCOREDUMP(int status)
Tests whether the child dumped core.
static int WEXITSTATUS(int status)
Extracts the exit status of a child.
static boolean WIFEXITED(int status)
Tests whether the child exited normally.
static boolean WIFSIGNALED(int status)
Tests whether the child was terminated by a signal.
static boolean WIFSTOPPED(int status)
Tests whether the child was stopped (not terminated) by a signal.
static int WSTOPSIG(int status)
Returns the signal that cause the child to stop.
static int WTERMSIG(int status)
Returns the signal that caused the child to exit.
static String errnoName(int errno)
Returns the string name of an errno value.
static String gaiName(int error)
Returns the string name of a getaddrinfo(3) error value.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final int AF_INET

Added in API level 21

public static final int AF_INET6

Added in API level 21

public static final int AF_UNIX

Added in API level 21

public static final int AF_UNSPEC

Added in API level 21

public static final int AI_ADDRCONFIG

Added in API level 21

public static final int AI_ALL

Added in API level 21

public static final int AI_CANONNAME

Added in API level 21

public static final int AI_NUMERICHOST

Added in API level 21

public static final int AI_NUMERICSERV

Added in API level 21

public static final int AI_PASSIVE

Added in API level 21

public static final int AI_V4MAPPED

Added in API level 21

public static final int CAP_AUDIT_CONTROL

Added in API level 21

public static final int CAP_AUDIT_WRITE

Added in API level 21

public static final int CAP_BLOCK_SUSPEND

Added in API level 21

public static final int CAP_CHOWN

Added in API level 21

public static final int CAP_DAC_OVERRIDE

Added in API level 21

public static final int CAP_DAC_READ_SEARCH

Added in API level 21

public static final int CAP_FOWNER

Added in API level 21

public static final int CAP_FSETID

Added in API level 21

public static final int CAP_IPC_LOCK

Added in API level 21

public static final int CAP_IPC_OWNER

Added in API level 21

public static final int CAP_KILL

Added in API level 21

public static final int CAP_LAST_CAP

Added in API level 21

public static final int CAP_LEASE

Added in API level 21

public static final int CAP_LINUX_IMMUTABLE

Added in API level 21

public static final int CAP_MAC_ADMIN

Added in API level 21

public static final int CAP_MAC_OVERRIDE

Added in API level 21

public static final int CAP_MKNOD

Added in API level 21

public static final int CAP_NET_ADMIN

Added in API level 21

public static final int CAP_NET_BIND_SERVICE

Added in API level 21

public static final int CAP_NET_BROADCAST

Added in API level 21

public static final int CAP_NET_RAW

Added in API level 21

public static final int CAP_SETFCAP

Added in API level 21

public static final int CAP_SETGID

Added in API level 21

public static final int CAP_SETPCAP

Added in API level 21

public static final int CAP_SETUID

Added in API level 21

public static final int CAP_SYSLOG

Added in API level 21

public static final int CAP_SYS_ADMIN

Added in API level 21

public static final int CAP_SYS_BOOT

Added in API level 21

public static final int CAP_SYS_CHROOT

Added in API level 21

public static final int CAP_SYS_MODULE

Added in API level 21

public static final int CAP_SYS_NICE

Added in API level 21

public static final int CAP_SYS_PACCT

Added in API level 21

public static final int CAP_SYS_PTRACE

Added in API level 21

public static final int CAP_SYS_RAWIO

Added in API level 21

public static final int CAP_SYS_RESOURCE

Added in API level 21

public static final int CAP_SYS_TIME

Added in API level 21

public static final int CAP_SYS_TTY_CONFIG

Added in API level 21

public static final int CAP_WAKE_ALARM

Added in API level 21

public static final int E2BIG

Added in API level 21

public static final int EACCES

Added in API level 21

public static final int EADDRINUSE

Added in API level 21

public static final int EADDRNOTAVAIL

Added in API level 21

public static final int EAFNOSUPPORT

Added in API level 21

public static final int EAGAIN

Added in API level 21

public static final int EAI_AGAIN

Added in API level 21

public static final int EAI_BADFLAGS

Added in API level 21

public static final int EAI_FAIL

Added in API level 21

public static final int EAI_FAMILY

Added in API level 21

public static final int EAI_MEMORY

Added in API level 21

public static final int EAI_NODATA

Added in API level 21

public static final int EAI_NONAME

Added in API level 21

public static final int EAI_OVERFLOW

Added in API level 21

public static final int EAI_SERVICE

Added in API level 21

public static final int EAI_SOCKTYPE

Added in API level 21

public static final int EAI_SYSTEM

Added in API level 21

public static final int EALREADY

Added in API level 21

public static final int EBADF

Added in API level 21

public static final int EBADMSG

Added in API level 21

public static final int EBUSY

Added in API level 21

public static final int ECANCELED

Added in API level 21

public static final int ECHILD

Added in API level 21

public static final int ECONNABORTED

Added in API level 21

public static final int ECONNREFUSED

Added in API level 21

public static final int ECONNRESET

Added in API level 21

public static final int EDEADLK

Added in API level 21

public static final int EDESTADDRREQ

Added in API level 21

public static final int EDOM

Added in API level 21

public static final int EDQUOT

Added in API level 21

public static final int EEXIST

Added in API level 21

public static final int EFAULT

Added in API level 21

public static final int EFBIG

Added in API level 21

public static final int EHOSTUNREACH

Added in API level 21

public static final int EIDRM

Added in API level 21

public static final int EILSEQ

Added in API level 21

public static final int EINPROGRESS

Added in API level 21

public static final int EINTR

Added in API level 21

public static final int EINVAL

Added in API level 21

public static final int EIO

Added in API level 21

public static final int EISCONN

Added in API level 21

public static final int EISDIR

Added in API level 21

public static final int ELOOP

Added in API level 21

public static final int EMFILE

Added in API level 21

public static final int EMLINK

Added in API level 21

public static final int EMSGSIZE

Added in API level 21

public static final int EMULTIHOP

Added in API level 21

public static final int ENAMETOOLONG

Added in API level 21

public static final int ENETDOWN

Added in API level 21

public static final int ENETRESET

Added in API level 21

public static final int ENETUNREACH

Added in API level 21

public static final int ENFILE

Added in API level 21

public static final int ENOBUFS

Added in API level 21

public static final int ENODATA

Added in API level 21

public static final int ENODEV

Added in API level 21

public static final int ENOENT

Added in API level 21

public static final int ENOEXEC

Added in API level 21

public static final int ENOLCK

Added in API level 21

public static final int ENOLINK

Added in API level 21

public static final int ENOMEM

Added in API level 21

public static final int ENOMSG

Added in API level 21

public static final int ENOPROTOOPT

Added in API level 21

public static final int ENOSPC

Added in API level 21

public static final int ENOSR

Added in API level 21

public static final int ENOSTR

Added in API level 21

public static final int ENOSYS

Added in API level 21

public static final int ENOTCONN

Added in API level 21

public static final int ENOTDIR

Added in API level 21

public static final int ENOTEMPTY

Added in API level 21

public static final int ENOTSOCK

Added in API level 21

public static final int ENOTSUP

Added in API level 21

public static final int ENOTTY

Added in API level 21

public static final int ENXIO

Added in API level 21

public static final int EOPNOTSUPP

Added in API level 21

public static final int EOVERFLOW

Added in API level 21

public static final int EPERM

Added in API level 21

public static final int EPIPE

Added in API level 21

public static final int EPROTO

Added in API level 21

public static final int EPROTONOSUPPORT

Added in API level 21

public static final int EPROTOTYPE

Added in API level 21

public static final int ERANGE

Added in API level 21

public static final int EROFS

Added in API level 21

public static final int ESPIPE

Added in API level 21

public static final int ESRCH

Added in API level 21

public static final int ESTALE

Added in API level 21

public static final int ETIME

Added in API level 21

public static final int ETIMEDOUT

Added in API level 21

public static final int ETXTBSY

Added in API level 21

public static final int EXDEV

Added in API level 21

public static final int EXIT_FAILURE

Added in API level 21

public static final int EXIT_SUCCESS

Added in API level 21

public static final int FD_CLOEXEC

Added in API level 21

public static final int FIONREAD

Added in API level 21

public static final int F_DUPFD

Added in API level 21

public static final int F_GETFD

Added in API level 21

public static final int F_GETFL

Added in API level 21

public static final int F_GETLK

Added in API level 21

public static final int F_GETLK64

Added in API level 21

public static final int F_GETOWN

Added in API level 21

public static final int F_OK

Added in API level 21

public static final int F_RDLCK

Added in API level 21

public static final int F_SETFD

Added in API level 21

public static final int F_SETFL

Added in API level 21

public static final int F_SETLK

Added in API level 21

public static final int F_SETLK64

Added in API level 21

public static final int F_SETLKW

Added in API level 21

public static final int F_SETLKW64

Added in API level 21

public static final int F_SETOWN

Added in API level 21

public static final int F_UNLCK

Added in API level 21

public static final int F_WRLCK

Added in API level 21

public static final int IFA_F_DADFAILED

Added in API level 21

public static final int IFA_F_DEPRECATED

Added in API level 21

public static final int IFA_F_HOMEADDRESS

Added in API level 21

public static final int IFA_F_NODAD

Added in API level 21

public static final int IFA_F_OPTIMISTIC

Added in API level 21

public static final int IFA_F_PERMANENT

Added in API level 21

public static final int IFA_F_SECONDARY

Added in API level 21

public static final int IFA_F_TEMPORARY

Added in API level 21

public static final int IFA_F_TENTATIVE

Added in API level 21

public static final int IFF_ALLMULTI

Added in API level 21

public static final int IFF_AUTOMEDIA

Added in API level 21

public static final int IFF_BROADCAST

Added in API level 21

public static final int IFF_DEBUG

Added in API level 21

public static final int IFF_DYNAMIC

Added in API level 21

public static final int IFF_LOOPBACK

Added in API level 21

public static final int IFF_MASTER

Added in API level 21

public static final int IFF_MULTICAST

Added in API level 21

public static final int IFF_NOARP

Added in API level 21

public static final int IFF_NOTRAILERS

Added in API level 21

public static final int IFF_POINTOPOINT

Added in API level 21

public static final int IFF_PORTSEL

Added in API level 21

public static final int IFF_PROMISC

Added in API level 21

public static final int IFF_RUNNING

Added in API level 21

public static final int IFF_SLAVE

Added in API level 21

public static final int IFF_UP

Added in API level 21

public static final int IPPROTO_ICMP

Added in API level 21

public static final int IPPROTO_ICMPV6

Added in API level 21

public static final int IPPROTO_IP

Added in API level 21

public static final int IPPROTO_IPV6

Added in API level 21

public static final int IPPROTO_RAW

Added in API level 21

public static final int IPPROTO_TCP

Added in API level 21

public static final int IPPROTO_UDP

Added in API level 21

public static final int IPV6_CHECKSUM

Added in API level 21

public static final int IPV6_MULTICAST_HOPS

Added in API level 21

public static final int IPV6_MULTICAST_IF

Added in API level 21

public static final int IPV6_MULTICAST_LOOP

Added in API level 21

public static final int IPV6_RECVDSTOPTS

Added in API level 21

public static final int IPV6_RECVHOPLIMIT

Added in API level 21

public static final int IPV6_RECVHOPOPTS

Added in API level 21

public static final int IPV6_RECVPKTINFO

Added in API level 21

public static final int IPV6_RECVRTHDR

Added in API level 21

public static final int IPV6_RECVTCLASS

Added in API level 21

public static final int IPV6_TCLASS

Added in API level 21

public static final int IPV6_UNICAST_HOPS

Added in API level 21

public static final int IPV6_V6ONLY

Added in API level 21

public static final int IP_MULTICAST_IF

Added in API level 21

public static final int IP_MULTICAST_LOOP

Added in API level 21

public static final int IP_MULTICAST_TTL

Added in API level 21

public static final int IP_TOS

Added in API level 21

public static final int IP_TTL

Added in API level 21

public static final int MAP_FIXED

Added in API level 21

public static final int MAP_PRIVATE

Added in API level 21

public static final int MAP_SHARED

Added in API level 21

public static final int MCAST_BLOCK_SOURCE

Added in API level 21

public static final int MCAST_JOIN_GROUP

Added in API level 21

public static final int MCAST_JOIN_SOURCE_GROUP

Added in API level 21

public static final int MCAST_LEAVE_GROUP

Added in API level 21

public static final int MCAST_LEAVE_SOURCE_GROUP

Added in API level 21

public static final int MCAST_UNBLOCK_SOURCE

Added in API level 21

public static final int MCL_CURRENT

Added in API level 21

public static final int MCL_FUTURE

Added in API level 21

public static final int MSG_CTRUNC

Added in API level 21

public static final int MSG_DONTROUTE

Added in API level 21

public static final int MSG_EOR

Added in API level 21

public static final int MSG_OOB

Added in API level 21

public static final int MSG_PEEK

Added in API level 21

public static final int MSG_TRUNC

Added in API level 21

public static final int MSG_WAITALL

Added in API level 21

public static final int MS_ASYNC

Added in API level 21

public static final int MS_INVALIDATE

Added in API level 21

public static final int MS_SYNC

Added in API level 21

public static final int NI_DGRAM

Added in API level 21

public static final int NI_NAMEREQD

Added in API level 21

public static final int NI_NOFQDN

Added in API level 21

public static final int NI_NUMERICHOST

Added in API level 21

public static final int NI_NUMERICSERV

Added in API level 21

public static final int O_ACCMODE

Added in API level 21

public static final int O_APPEND

Added in API level 21

public static final int O_CREAT

Added in API level 21

public static final int O_EXCL

Added in API level 21

public static final int O_NOCTTY

Added in API level 21

public static final int O_NOFOLLOW

Added in API level 21

public static final int O_NONBLOCK

Added in API level 21

public static final int O_RDONLY

Added in API level 21

public static final int O_RDWR

Added in API level 21

public static final int O_SYNC

Added in API level 21

public static final int O_TRUNC

Added in API level 21

public static final int O_WRONLY

Added in API level 21

public static final int POLLERR

Added in API level 21

public static final int POLLHUP

Added in API level 21

public static final int POLLIN

Added in API level 21

public static final int POLLNVAL

Added in API level 21

public static final int POLLOUT

Added in API level 21

public static final int POLLPRI

Added in API level 21

public static final int POLLRDBAND

Added in API level 21

public static final int POLLRDNORM

Added in API level 21

public static final int POLLWRBAND

Added in API level 21

public static final int POLLWRNORM

Added in API level 21

public static final int PROT_EXEC

Added in API level 21

public static final int PROT_NONE

Added in API level 21

public static final int PROT_READ

Added in API level 21

public static final int PROT_WRITE

Added in API level 21

public static final int PR_GET_DUMPABLE

Added in API level 21

public static final int PR_SET_DUMPABLE

Added in API level 21

public static final int PR_SET_NO_NEW_PRIVS

Added in API level 21

public static final int RT_SCOPE_HOST

Added in API level 21

public static final int RT_SCOPE_LINK

Added in API level 21

public static final int RT_SCOPE_NOWHERE

Added in API level 21

public static final int RT_SCOPE_SITE

Added in API level 21

public static final int RT_SCOPE_UNIVERSE

Added in API level 21

public static final int R_OK

Added in API level 21

public static final int SEEK_CUR

Added in API level 21

public static final int SEEK_END

Added in API level 21

public static final int SEEK_SET

Added in API level 21

public static final int SHUT_RD

Added in API level 21

public static final int SHUT_RDWR

Added in API level 21

public static final int SHUT_WR

Added in API level 21

public static final int SIGABRT

Added in API level 21

public static final int SIGALRM

Added in API level 21

public static final int SIGBUS

Added in API level 21

public static final int SIGCHLD

Added in API level 21

public static final int SIGCONT

Added in API level 21

public static final int SIGFPE

Added in API level 21

public static final int SIGHUP

Added in API level 21

public static final int SIGILL

Added in API level 21

public static final int SIGINT

Added in API level 21

public static final int SIGIO

Added in API level 21

public static final int SIGKILL

Added in API level 21

public static final int SIGPIPE

Added in API level 21

public static final int SIGPROF

Added in API level 21

public static final int SIGPWR

Added in API level 21

public static final int SIGQUIT

Added in API level 21

public static final int SIGRTMAX

Added in API level 21

public static final int SIGRTMIN

Added in API level 21

public static final int SIGSEGV

Added in API level 21

public static final int SIGSTKFLT

Added in API level 21

public static final int SIGSTOP

Added in API level 21

public static final int SIGSYS

Added in API level 21

public static final int SIGTERM

Added in API level 21

public static final int SIGTRAP

Added in API level 21

public static final int SIGTSTP

Added in API level 21

public static final int SIGTTIN

Added in API level 21

public static final int SIGTTOU

Added in API level 21

public static final int SIGURG

Added in API level 21

public static final int SIGUSR1

Added in API level 21

public static final int SIGUSR2

Added in API level 21

public static final int SIGVTALRM

Added in API level 21

public static final int SIGWINCH

Added in API level 21

public static final int SIGXCPU

Added in API level 21

public static final int SIGXFSZ

Added in API level 21

public static final int SIOCGIFADDR

Added in API level 21

public static final int SIOCGIFBRDADDR

Added in API level 21

public static final int SIOCGIFDSTADDR

Added in API level 21

public static final int SIOCGIFNETMASK

Added in API level 21

public static final int SOCK_DGRAM

Added in API level 21

public static final int SOCK_RAW

Added in API level 21

public static final int SOCK_SEQPACKET

Added in API level 21

public static final int SOCK_STREAM

Added in API level 21

public static final int SOL_SOCKET

Added in API level 21

public static final int SO_BINDTODEVICE

Added in API level 21

public static final int SO_BROADCAST

Added in API level 21

public static final int SO_DEBUG

Added in API level 21

public static final int SO_DONTROUTE

Added in API level 21

public static final int SO_ERROR

Added in API level 21

public static final int SO_KEEPALIVE

Added in API level 21

public static final int SO_LINGER

Added in API level 21

public static final int SO_OOBINLINE

Added in API level 21

public static final int SO_PASSCRED

Added in API level 21

public static final int SO_PEERCRED

Added in API level 21

public static final int SO_RCVBUF

Added in API level 21

public static final int SO_RCVLOWAT

Added in API level 21

public static final int SO_RCVTIMEO

Added in API level 21

public static final int SO_REUSEADDR

Added in API level 21

public static final int SO_SNDBUF

Added in API level 21

public static final int SO_SNDLOWAT

Added in API level 21

public static final int SO_SNDTIMEO

Added in API level 21

public static final int SO_TYPE

Added in API level 21

public static final int STDERR_FILENO

Added in API level 21

public static final int STDIN_FILENO

Added in API level 21

public static final int STDOUT_FILENO

Added in API level 21

public static final int S_IFBLK

Added in API level 21

public static final int S_IFCHR

Added in API level 21

public static final int S_IFDIR

Added in API level 21

public static final int S_IFIFO

Added in API level 21

public static final int S_IFLNK

Added in API level 21

public static final int S_IFMT

Added in API level 21

public static final int S_IFREG

Added in API level 21

public static final int S_IFSOCK

Added in API level 21

public static final int S_IRGRP

Added in API level 21

public static final int S_IROTH

Added in API level 21

public static final int S_IRUSR

Added in API level 21

public static final int S_IRWXG

Added in API level 21

public static final int S_IRWXO

Added in API level 21

public static final int S_IRWXU

Added in API level 21

public static final int S_ISGID

Added in API level 21

public static final int S_ISUID

Added in API level 21

public static final int S_ISVTX

Added in API level 21

public static final int S_IWGRP

Added in API level 21

public static final int S_IWOTH

Added in API level 21

public static final int S_IWUSR

Added in API level 21

public static final int S_IXGRP

Added in API level 21

public static final int S_IXOTH

Added in API level 21

public static final int S_IXUSR

Added in API level 21

public static final int TCP_NODELAY

Added in API level 21

public static final int WCONTINUED

Added in API level 21

public static final int WEXITED

Added in API level 21

public static final int WNOHANG

Added in API level 21

public static final int WNOWAIT

Added in API level 21

public static final int WSTOPPED

Added in API level 21

public static final int WUNTRACED

Added in API level 21

public static final int W_OK

Added in API level 21

public static final int X_OK

Added in API level 21

public static final int _SC_2_CHAR_TERM

Added in API level 21

public static final int _SC_2_C_BIND

Added in API level 21

public static final int _SC_2_C_DEV

Added in API level 21

public static final int _SC_2_C_VERSION

Added in API level 21

public static final int _SC_2_FORT_DEV

Added in API level 21

public static final int _SC_2_FORT_RUN

Added in API level 21

public static final int _SC_2_LOCALEDEF

Added in API level 21

public static final int _SC_2_SW_DEV

Added in API level 21

public static final int _SC_2_UPE

Added in API level 21

public static final int _SC_2_VERSION

Added in API level 21

public static final int _SC_AIO_LISTIO_MAX

Added in API level 21

public static final int _SC_AIO_MAX

Added in API level 21

public static final int _SC_AIO_PRIO_DELTA_MAX

Added in API level 21

public static final int _SC_ARG_MAX

Added in API level 21

public static final int _SC_ASYNCHRONOUS_IO

Added in API level 21

public static final int _SC_ATEXIT_MAX

Added in API level 21

public static final int _SC_AVPHYS_PAGES

Added in API level 21

public static final int _SC_BC_BASE_MAX

Added in API level 21

public static final int _SC_BC_DIM_MAX

Added in API level 21

public static final int _SC_BC_SCALE_MAX

Added in API level 21

public static final int _SC_BC_STRING_MAX

Added in API level 21

public static final int _SC_CHILD_MAX

Added in API level 21

public static final int _SC_CLK_TCK

Added in API level 21

public static final int _SC_COLL_WEIGHTS_MAX

Added in API level 21

public static final int _SC_DELAYTIMER_MAX

Added in API level 21

public static final int _SC_EXPR_NEST_MAX

Added in API level 21

public static final int _SC_FSYNC

Added in API level 21

public static final int _SC_GETGR_R_SIZE_MAX

Added in API level 21

public static final int _SC_GETPW_R_SIZE_MAX

Added in API level 21

public static final int _SC_IOV_MAX

Added in API level 21

public static final int _SC_JOB_CONTROL

Added in API level 21

public static final int _SC_LINE_MAX

Added in API level 21

public static final int _SC_LOGIN_NAME_MAX

Added in API level 21

public static final int _SC_MAPPED_FILES

Added in API level 21

public static final int _SC_MEMLOCK

Added in API level 21

public static final int _SC_MEMLOCK_RANGE

Added in API level 21

public static final int _SC_MEMORY_PROTECTION

Added in API level 21

public static final int _SC_MESSAGE_PASSING

Added in API level 21

public static final int _SC_MQ_OPEN_MAX

Added in API level 21

public static final int _SC_MQ_PRIO_MAX

Added in API level 21

public static final int _SC_NGROUPS_MAX

Added in API level 21

public static final int _SC_NPROCESSORS_CONF

Added in API level 21

public static final int _SC_NPROCESSORS_ONLN

Added in API level 21

public static final int _SC_OPEN_MAX

Added in API level 21

public static final int _SC_PAGESIZE

Added in API level 21

public static final int _SC_PAGE_SIZE

Added in API level 21

public static final int _SC_PASS_MAX

Added in API level 21

public static final int _SC_PHYS_PAGES

Added in API level 21

public static final int _SC_PRIORITIZED_IO

Added in API level 21

public static final int _SC_PRIORITY_SCHEDULING

Added in API level 21

public static final int _SC_REALTIME_SIGNALS

Added in API level 21

public static final int _SC_RE_DUP_MAX

Added in API level 21

public static final int _SC_RTSIG_MAX

Added in API level 21

public static final int _SC_SAVED_IDS

Added in API level 21

public static final int _SC_SEMAPHORES

Added in API level 21

public static final int _SC_SEM_NSEMS_MAX

Added in API level 21

public static final int _SC_SEM_VALUE_MAX

Added in API level 21

public static final int _SC_SHARED_MEMORY_OBJECTS

Added in API level 21

public static final int _SC_SIGQUEUE_MAX

Added in API level 21

public static final int _SC_STREAM_MAX

Added in API level 21

public static final int _SC_SYNCHRONIZED_IO

Added in API level 21

public static final int _SC_THREADS

Added in API level 21

public static final int _SC_THREAD_ATTR_STACKADDR

Added in API level 21

public static final int _SC_THREAD_ATTR_STACKSIZE

Added in API level 21

public static final int _SC_THREAD_DESTRUCTOR_ITERATIONS

Added in API level 21

public static final int _SC_THREAD_KEYS_MAX

Added in API level 21

public static final int _SC_THREAD_PRIORITY_SCHEDULING

Added in API level 21

public static final int _SC_THREAD_PRIO_INHERIT

Added in API level 21

public static final int _SC_THREAD_PRIO_PROTECT

Added in API level 21

public static final int _SC_THREAD_SAFE_FUNCTIONS

Added in API level 21

public static final int _SC_THREAD_STACK_MIN

Added in API level 21

public static final int _SC_THREAD_THREADS_MAX

Added in API level 21

public static final int _SC_TIMERS

Added in API level 21

public static final int _SC_TIMER_MAX

Added in API level 21

public static final int _SC_TTY_NAME_MAX

Added in API level 21

public static final int _SC_TZNAME_MAX

Added in API level 21

public static final int _SC_VERSION

Added in API level 21

public static final int _SC_XBS5_ILP32_OFF32

Added in API level 21

public static final int _SC_XBS5_ILP32_OFFBIG

Added in API level 21

public static final int _SC_XBS5_LP64_OFF64

Added in API level 21

public static final int _SC_XBS5_LPBIG_OFFBIG

Added in API level 21

public static final int _SC_XOPEN_CRYPT

Added in API level 21

public static final int _SC_XOPEN_ENH_I18N

Added in API level 21

public static final int _SC_XOPEN_LEGACY

Added in API level 21

public static final int _SC_XOPEN_REALTIME

Added in API level 21

public static final int _SC_XOPEN_REALTIME_THREADS

Added in API level 21

public static final int _SC_XOPEN_SHM

Added in API level 21

public static final int _SC_XOPEN_UNIX

Added in API level 21

public static final int _SC_XOPEN_VERSION

Added in API level 21

public static final int _SC_XOPEN_XCU_VERSION

Added in API level 21

Public Methods

public static boolean S_ISBLK (int mode)

Added in API level 21

Tests whether the given mode is a block device.

public static boolean S_ISCHR (int mode)

Added in API level 21

Tests whether the given mode is a character device.

public static boolean S_ISDIR (int mode)

Added in API level 21

Tests whether the given mode is a directory.

public static boolean S_ISFIFO (int mode)

Added in API level 21

Tests whether the given mode is a FIFO.

public static boolean S_ISLNK (int mode)

Added in API level 21

Tests whether the given mode is a symbolic link.

public static boolean S_ISREG (int mode)

Added in API level 21

Tests whether the given mode is a regular file.

public static boolean S_ISSOCK (int mode)

Added in API level 21

Tests whether the given mode is a socket.

public static boolean WCOREDUMP (int status)

Added in API level 21

Tests whether the child dumped core. Only valid if WIFSIGNALED returns true.

public static int WEXITSTATUS (int status)

Added in API level 21

Extracts the exit status of a child. Only valid if WIFEXITED returns true.

public static boolean WIFEXITED (int status)

Added in API level 21

Tests whether the child exited normally.

public static boolean WIFSIGNALED (int status)

Added in API level 21

Tests whether the child was terminated by a signal.

public static boolean WIFSTOPPED (int status)

Added in API level 21

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

public static int WSTOPSIG (int status)

Added in API level 21

Returns the signal that cause the child to stop. Only valid if WIFSTOPPED returns true.

public static int WTERMSIG (int status)

Added in API level 21

Returns the signal that caused the child to exit. Only valid if WIFSIGNALED returns true.

public static String errnoName (int errno)

Added in API level 21

Returns the string name of an errno value. For example, "EACCES". See strerror(int) for human-readable errno descriptions.

public static String gaiName (int error)

Added in API level 21

Returns the string name of a getaddrinfo(3) error value. For example, "EAI_AGAIN".