Skip to content

Most visited

Recently visited

navigation

OsConstants

public final class OsConstants
extends Object

java.lang.Object
   ↳ android.system.OsConstants


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_DUPFD_CLOEXEC

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_CLOEXEC

public static final int O_CREAT

public static final int O_DSYNC

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 ST_MANDLOCK

public static final int ST_NOATIME

public static final int ST_NODEV

public static final int ST_NODIRATIME

public static final int ST_NOEXEC

public static final int ST_NOSUID

public static final int ST_RDONLY

public static final int ST_RELATIME

public static final int ST_SYNCHRONOUS

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 TCP_USER_TIMEOUT

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.

Inherited methods

From class java.lang.Object

Fields

AF_INET

added in API level 21
int AF_INET

AF_INET6

added in API level 21
int AF_INET6

AF_UNIX

added in API level 21
int AF_UNIX

AF_UNSPEC

added in API level 21
int AF_UNSPEC

AI_ADDRCONFIG

added in API level 21
int AI_ADDRCONFIG

AI_ALL

added in API level 21
int AI_ALL

AI_CANONNAME

added in API level 21
int AI_CANONNAME

AI_NUMERICHOST

added in API level 21
int AI_NUMERICHOST

AI_NUMERICSERV

added in API level 21
int AI_NUMERICSERV

AI_PASSIVE

added in API level 21
int AI_PASSIVE

AI_V4MAPPED

added in API level 21
int AI_V4MAPPED

CAP_AUDIT_CONTROL

added in API level 21
int CAP_AUDIT_CONTROL

CAP_AUDIT_WRITE

added in API level 21
int CAP_AUDIT_WRITE

CAP_BLOCK_SUSPEND

added in API level 21
int CAP_BLOCK_SUSPEND

CAP_CHOWN

added in API level 21
int CAP_CHOWN

CAP_DAC_OVERRIDE

added in API level 21
int CAP_DAC_OVERRIDE

CAP_DAC_READ_SEARCH

added in API level 21
int CAP_DAC_READ_SEARCH

CAP_FOWNER

added in API level 21
int CAP_FOWNER

CAP_FSETID

added in API level 21
int CAP_FSETID

CAP_IPC_LOCK

added in API level 21
int CAP_IPC_LOCK

CAP_IPC_OWNER

added in API level 21
int CAP_IPC_OWNER

CAP_KILL

added in API level 21
int CAP_KILL

CAP_LAST_CAP

added in API level 21
int CAP_LAST_CAP

CAP_LEASE

added in API level 21
int CAP_LEASE

CAP_LINUX_IMMUTABLE

added in API level 21
int CAP_LINUX_IMMUTABLE

CAP_MAC_ADMIN

added in API level 21
int CAP_MAC_ADMIN

CAP_MAC_OVERRIDE

added in API level 21
int CAP_MAC_OVERRIDE

CAP_MKNOD

added in API level 21
int CAP_MKNOD

CAP_NET_ADMIN

added in API level 21
int CAP_NET_ADMIN

CAP_NET_BIND_SERVICE

added in API level 21
int CAP_NET_BIND_SERVICE

CAP_NET_BROADCAST

added in API level 21
int CAP_NET_BROADCAST

CAP_NET_RAW

added in API level 21
int CAP_NET_RAW

CAP_SETFCAP

added in API level 21
int CAP_SETFCAP

CAP_SETGID

added in API level 21
int CAP_SETGID

CAP_SETPCAP

added in API level 21
int CAP_SETPCAP

CAP_SETUID

added in API level 21
int CAP_SETUID

CAP_SYSLOG

added in API level 21
int CAP_SYSLOG

CAP_SYS_ADMIN

added in API level 21
int CAP_SYS_ADMIN

CAP_SYS_BOOT

added in API level 21
int CAP_SYS_BOOT

CAP_SYS_CHROOT

added in API level 21
int CAP_SYS_CHROOT

CAP_SYS_MODULE

added in API level 21
int CAP_SYS_MODULE

CAP_SYS_NICE

added in API level 21
int CAP_SYS_NICE

CAP_SYS_PACCT

added in API level 21
int CAP_SYS_PACCT

CAP_SYS_PTRACE

added in API level 21
int CAP_SYS_PTRACE

CAP_SYS_RAWIO

added in API level 21
int CAP_SYS_RAWIO

CAP_SYS_RESOURCE

added in API level 21
int CAP_SYS_RESOURCE

CAP_SYS_TIME

added in API level 21
int CAP_SYS_TIME

CAP_SYS_TTY_CONFIG

added in API level 21
int CAP_SYS_TTY_CONFIG

CAP_WAKE_ALARM

added in API level 21
int CAP_WAKE_ALARM

E2BIG

added in API level 21
int E2BIG

EACCES

added in API level 21
int EACCES

EADDRINUSE

added in API level 21
int EADDRINUSE

EADDRNOTAVAIL

added in API level 21
int EADDRNOTAVAIL

EAFNOSUPPORT

added in API level 21
int EAFNOSUPPORT

EAGAIN

added in API level 21
int EAGAIN

EAI_AGAIN

added in API level 21
int EAI_AGAIN

EAI_BADFLAGS

added in API level 21
int EAI_BADFLAGS

EAI_FAIL

added in API level 21
int EAI_FAIL

EAI_FAMILY

added in API level 21
int EAI_FAMILY

EAI_MEMORY

added in API level 21
int EAI_MEMORY

EAI_NODATA

added in API level 21
int EAI_NODATA

EAI_NONAME

added in API level 21
int EAI_NONAME

EAI_OVERFLOW

added in API level 21
int EAI_OVERFLOW

EAI_SERVICE

added in API level 21
int EAI_SERVICE

EAI_SOCKTYPE

added in API level 21
int EAI_SOCKTYPE

EAI_SYSTEM

added in API level 21
int EAI_SYSTEM

EALREADY

added in API level 21
int EALREADY

EBADF

added in API level 21
int EBADF

EBADMSG

added in API level 21
int EBADMSG

EBUSY

added in API level 21
int EBUSY

ECANCELED

added in API level 21
int ECANCELED

ECHILD

added in API level 21
int ECHILD

ECONNABORTED

added in API level 21
int ECONNABORTED

ECONNREFUSED

added in API level 21
int ECONNREFUSED

ECONNRESET

added in API level 21
int ECONNRESET

EDEADLK

added in API level 21
int EDEADLK

EDESTADDRREQ

added in API level 21
int EDESTADDRREQ

EDOM

added in API level 21
int EDOM

EDQUOT

added in API level 21
int EDQUOT

EEXIST

added in API level 21
int EEXIST

EFAULT

added in API level 21
int EFAULT

EFBIG

added in API level 21
int EFBIG

EHOSTUNREACH

added in API level 21
int EHOSTUNREACH

EIDRM

added in API level 21
int EIDRM

EILSEQ

added in API level 21
int EILSEQ

EINPROGRESS

added in API level 21
int EINPROGRESS

EINTR

added in API level 21
int EINTR

EINVAL

added in API level 21
int EINVAL

EIO

added in API level 21
int EIO

EISCONN

added in API level 21
int EISCONN

EISDIR

added in API level 21
int EISDIR

ELOOP

added in API level 21
int ELOOP

EMFILE

added in API level 21
int EMFILE

EMLINK

added in API level 21
int EMLINK

EMSGSIZE

added in API level 21
int EMSGSIZE

EMULTIHOP

added in API level 21
int EMULTIHOP

ENAMETOOLONG

added in API level 21
int ENAMETOOLONG

ENETDOWN

added in API level 21
int ENETDOWN

ENETRESET

added in API level 21
int ENETRESET

ENETUNREACH

added in API level 21
int ENETUNREACH

ENFILE

added in API level 21
int ENFILE

ENOBUFS

added in API level 21
int ENOBUFS

ENODATA

added in API level 21
int ENODATA

ENODEV

added in API level 21
int ENODEV

ENOENT

added in API level 21
int ENOENT

ENOEXEC

added in API level 21
int ENOEXEC

ENOLCK

added in API level 21
int ENOLCK

ENOLINK

added in API level 21
int ENOLINK

ENOMEM

added in API level 21
int ENOMEM

ENOMSG

added in API level 21
int ENOMSG

ENOPROTOOPT

added in API level 21
int ENOPROTOOPT

ENOSPC

added in API level 21
int ENOSPC

ENOSR

added in API level 21
int ENOSR

ENOSTR

added in API level 21
int ENOSTR

ENOSYS

added in API level 21
int ENOSYS

ENOTCONN

added in API level 21
int ENOTCONN

ENOTDIR

added in API level 21
int ENOTDIR

ENOTEMPTY

added in API level 21
int ENOTEMPTY

ENOTSOCK

added in API level 21
int ENOTSOCK

ENOTSUP

added in API level 21
int ENOTSUP

ENOTTY

added in API level 21
int ENOTTY

ENXIO

added in API level 21
int ENXIO

EOPNOTSUPP

added in API level 21
int EOPNOTSUPP

EOVERFLOW

added in API level 21
int EOVERFLOW

EPERM

added in API level 21
int EPERM

EPIPE

added in API level 21
int EPIPE

EPROTO

added in API level 21
int EPROTO

EPROTONOSUPPORT

added in API level 21
int EPROTONOSUPPORT

EPROTOTYPE

added in API level 21
int EPROTOTYPE

ERANGE

added in API level 21
int ERANGE

EROFS

added in API level 21
int EROFS

ESPIPE

added in API level 21
int ESPIPE

ESRCH

added in API level 21
int ESRCH

ESTALE

added in API level 21
int ESTALE

ETIME

added in API level 21
int ETIME

ETIMEDOUT

added in API level 21
int ETIMEDOUT

ETXTBSY

added in API level 21
int ETXTBSY

EXDEV

added in API level 21
int EXDEV

EXIT_FAILURE

added in API level 21
int EXIT_FAILURE

EXIT_SUCCESS

added in API level 21
int EXIT_SUCCESS

FD_CLOEXEC

added in API level 21
int FD_CLOEXEC

FIONREAD

added in API level 21
int FIONREAD

F_DUPFD

added in API level 21
int F_DUPFD

F_DUPFD_CLOEXEC

added in API level 27
int F_DUPFD_CLOEXEC

F_GETFD

added in API level 21
int F_GETFD

F_GETFL

added in API level 21
int F_GETFL

F_GETLK

added in API level 21
int F_GETLK

F_GETLK64

added in API level 21
int F_GETLK64

F_GETOWN

added in API level 21
int F_GETOWN

F_OK

added in API level 21
int F_OK

F_RDLCK

added in API level 21
int F_RDLCK

F_SETFD

added in API level 21
int F_SETFD

F_SETFL

added in API level 21
int F_SETFL

F_SETLK

added in API level 21
int F_SETLK

F_SETLK64

added in API level 21
int F_SETLK64

F_SETLKW

added in API level 21
int F_SETLKW

F_SETLKW64

added in API level 21
int F_SETLKW64

F_SETOWN

added in API level 21
int F_SETOWN

F_UNLCK

added in API level 21
int F_UNLCK

F_WRLCK

added in API level 21
int F_WRLCK

IFA_F_DADFAILED

added in API level 21
int IFA_F_DADFAILED

IFA_F_DEPRECATED

added in API level 21
int IFA_F_DEPRECATED

IFA_F_HOMEADDRESS

added in API level 21
int IFA_F_HOMEADDRESS

IFA_F_NODAD

added in API level 21
int IFA_F_NODAD

IFA_F_OPTIMISTIC

added in API level 21
int IFA_F_OPTIMISTIC

IFA_F_PERMANENT

added in API level 21
int IFA_F_PERMANENT

IFA_F_SECONDARY

added in API level 21
int IFA_F_SECONDARY

IFA_F_TEMPORARY

added in API level 21
int IFA_F_TEMPORARY

IFA_F_TENTATIVE

added in API level 21
int IFA_F_TENTATIVE

IFF_ALLMULTI

added in API level 21
int IFF_ALLMULTI

IFF_AUTOMEDIA

added in API level 21
int IFF_AUTOMEDIA

IFF_BROADCAST

added in API level 21
int IFF_BROADCAST

IFF_DEBUG

added in API level 21
int IFF_DEBUG

IFF_DYNAMIC

added in API level 21
int IFF_DYNAMIC

IFF_LOOPBACK

added in API level 21
int IFF_LOOPBACK

IFF_MASTER

added in API level 21
int IFF_MASTER

IFF_MULTICAST

added in API level 21
int IFF_MULTICAST

IFF_NOARP

added in API level 21
int IFF_NOARP

IFF_NOTRAILERS

added in API level 21
int IFF_NOTRAILERS

IFF_POINTOPOINT

added in API level 21
int IFF_POINTOPOINT

IFF_PORTSEL

added in API level 21
int IFF_PORTSEL

IFF_PROMISC

added in API level 21
int IFF_PROMISC

IFF_RUNNING

added in API level 21
int IFF_RUNNING

IFF_SLAVE

added in API level 21
int IFF_SLAVE

IFF_UP

added in API level 21
int IFF_UP

IPPROTO_ICMP

added in API level 21
int IPPROTO_ICMP

IPPROTO_ICMPV6

added in API level 21
int IPPROTO_ICMPV6

IPPROTO_IP

added in API level 21
int IPPROTO_IP

IPPROTO_IPV6

added in API level 21
int IPPROTO_IPV6

IPPROTO_RAW

added in API level 21
int IPPROTO_RAW

IPPROTO_TCP

added in API level 21
int IPPROTO_TCP

IPPROTO_UDP

added in API level 21
int IPPROTO_UDP

IPV6_CHECKSUM

added in API level 21
int IPV6_CHECKSUM

IPV6_MULTICAST_HOPS

added in API level 21
int IPV6_MULTICAST_HOPS

IPV6_MULTICAST_IF

added in API level 21
int IPV6_MULTICAST_IF

IPV6_MULTICAST_LOOP

added in API level 21
int IPV6_MULTICAST_LOOP

IPV6_RECVDSTOPTS

added in API level 21
int IPV6_RECVDSTOPTS

IPV6_RECVHOPLIMIT

added in API level 21
int IPV6_RECVHOPLIMIT

IPV6_RECVHOPOPTS

added in API level 21
int IPV6_RECVHOPOPTS

IPV6_RECVPKTINFO

added in API level 21
int IPV6_RECVPKTINFO

IPV6_RECVRTHDR

added in API level 21
int IPV6_RECVRTHDR

IPV6_RECVTCLASS

added in API level 21
int IPV6_RECVTCLASS

IPV6_TCLASS

added in API level 21
int IPV6_TCLASS

IPV6_UNICAST_HOPS

added in API level 21
int IPV6_UNICAST_HOPS

IPV6_V6ONLY

added in API level 21
int IPV6_V6ONLY

IP_MULTICAST_IF

added in API level 21
int IP_MULTICAST_IF

IP_MULTICAST_LOOP

added in API level 21
int IP_MULTICAST_LOOP

IP_MULTICAST_TTL

added in API level 21
int IP_MULTICAST_TTL

IP_TOS

added in API level 21
int IP_TOS

IP_TTL

added in API level 21
int IP_TTL

MAP_FIXED

added in API level 21
int MAP_FIXED

MAP_PRIVATE

added in API level 21
int MAP_PRIVATE

MAP_SHARED

added in API level 21
int MAP_SHARED

MCAST_BLOCK_SOURCE

added in API level 21
int MCAST_BLOCK_SOURCE

MCAST_JOIN_GROUP

added in API level 21
int MCAST_JOIN_GROUP

MCAST_JOIN_SOURCE_GROUP

added in API level 21
int MCAST_JOIN_SOURCE_GROUP

MCAST_LEAVE_GROUP

added in API level 21
int MCAST_LEAVE_GROUP

MCAST_LEAVE_SOURCE_GROUP

added in API level 21
int MCAST_LEAVE_SOURCE_GROUP

MCAST_UNBLOCK_SOURCE

added in API level 21
int MCAST_UNBLOCK_SOURCE

MCL_CURRENT

added in API level 21
int MCL_CURRENT

MCL_FUTURE

added in API level 21
int MCL_FUTURE

MSG_CTRUNC

added in API level 21
int MSG_CTRUNC

MSG_DONTROUTE

added in API level 21
int MSG_DONTROUTE

MSG_EOR

added in API level 21
int MSG_EOR

MSG_OOB

added in API level 21
int MSG_OOB

MSG_PEEK

added in API level 21
int MSG_PEEK

MSG_TRUNC

added in API level 21
int MSG_TRUNC

MSG_WAITALL

added in API level 21
int MSG_WAITALL

MS_ASYNC

added in API level 21
int MS_ASYNC

MS_INVALIDATE

added in API level 21
int MS_INVALIDATE

MS_SYNC

added in API level 21
int MS_SYNC

NI_DGRAM

added in API level 21
int NI_DGRAM

NI_NAMEREQD

added in API level 21
int NI_NAMEREQD

NI_NOFQDN

added in API level 21
int NI_NOFQDN

NI_NUMERICHOST

added in API level 21
int NI_NUMERICHOST

NI_NUMERICSERV

added in API level 21
int NI_NUMERICSERV

O_ACCMODE

added in API level 21
int O_ACCMODE

O_APPEND

added in API level 21
int O_APPEND

O_CLOEXEC

added in API level 27
int O_CLOEXEC

O_CREAT

added in API level 21
int O_CREAT

O_DSYNC

added in API level 27
int O_DSYNC

O_EXCL

added in API level 21
int O_EXCL

O_NOCTTY

added in API level 21
int O_NOCTTY

O_NOFOLLOW

added in API level 21
int O_NOFOLLOW

O_NONBLOCK

added in API level 21
int O_NONBLOCK

O_RDONLY

added in API level 21
int O_RDONLY

O_RDWR

added in API level 21
int O_RDWR

O_SYNC

added in API level 21
int O_SYNC

O_TRUNC

added in API level 21
int O_TRUNC

O_WRONLY

added in API level 21
int O_WRONLY

POLLERR

added in API level 21
int POLLERR

POLLHUP

added in API level 21
int POLLHUP

POLLIN

added in API level 21
int POLLIN

POLLNVAL

added in API level 21
int POLLNVAL

POLLOUT

added in API level 21
int POLLOUT

POLLPRI

added in API level 21
int POLLPRI

POLLRDBAND

added in API level 21
int POLLRDBAND

POLLRDNORM

added in API level 21
int POLLRDNORM

POLLWRBAND

added in API level 21
int POLLWRBAND

POLLWRNORM

added in API level 21
int POLLWRNORM

PROT_EXEC

added in API level 21
int PROT_EXEC

PROT_NONE

added in API level 21
int PROT_NONE

PROT_READ

added in API level 21
int PROT_READ

PROT_WRITE

added in API level 21
int PROT_WRITE

PR_GET_DUMPABLE

added in API level 21
int PR_GET_DUMPABLE

PR_SET_DUMPABLE

added in API level 21
int PR_SET_DUMPABLE

PR_SET_NO_NEW_PRIVS

added in API level 21
int PR_SET_NO_NEW_PRIVS

RT_SCOPE_HOST

added in API level 21
int RT_SCOPE_HOST

RT_SCOPE_LINK

added in API level 21
int RT_SCOPE_LINK

RT_SCOPE_NOWHERE

added in API level 21
int RT_SCOPE_NOWHERE

RT_SCOPE_SITE

added in API level 21
int RT_SCOPE_SITE

RT_SCOPE_UNIVERSE

added in API level 21
int RT_SCOPE_UNIVERSE

R_OK

added in API level 21
int R_OK

SEEK_CUR

added in API level 21
int SEEK_CUR

SEEK_END

added in API level 21
int SEEK_END

SEEK_SET

added in API level 21
int SEEK_SET

SHUT_RD

added in API level 21
int SHUT_RD

SHUT_RDWR

added in API level 21
int SHUT_RDWR

SHUT_WR

added in API level 21
int SHUT_WR

SIGABRT

added in API level 21
int SIGABRT

SIGALRM

added in API level 21
int SIGALRM

SIGBUS

added in API level 21
int SIGBUS

SIGCHLD

added in API level 21
int SIGCHLD

SIGCONT

added in API level 21
int SIGCONT

SIGFPE

added in API level 21
int SIGFPE

SIGHUP

added in API level 21
int SIGHUP

SIGILL

added in API level 21
int SIGILL

SIGINT

added in API level 21
int SIGINT

SIGIO

added in API level 21
int SIGIO

SIGKILL

added in API level 21
int SIGKILL

SIGPIPE

added in API level 21
int SIGPIPE

SIGPROF

added in API level 21
int SIGPROF

SIGPWR

added in API level 21
int SIGPWR

SIGQUIT

added in API level 21
int SIGQUIT

SIGRTMAX

added in API level 21
int SIGRTMAX

SIGRTMIN

added in API level 21
int SIGRTMIN

SIGSEGV

added in API level 21
int SIGSEGV

SIGSTKFLT

added in API level 21
int SIGSTKFLT

SIGSTOP

added in API level 21
int SIGSTOP

SIGSYS

added in API level 21
int SIGSYS

SIGTERM

added in API level 21
int SIGTERM

SIGTRAP

added in API level 21
int SIGTRAP

SIGTSTP

added in API level 21
int SIGTSTP

SIGTTIN

added in API level 21
int SIGTTIN

SIGTTOU

added in API level 21
int SIGTTOU

SIGURG

added in API level 21
int SIGURG

SIGUSR1

added in API level 21
int SIGUSR1

SIGUSR2

added in API level 21
int SIGUSR2

SIGVTALRM

added in API level 21
int SIGVTALRM

SIGWINCH

added in API level 21
int SIGWINCH

SIGXCPU

added in API level 21
int SIGXCPU

SIGXFSZ

added in API level 21
int SIGXFSZ

SIOCGIFADDR

added in API level 21
int SIOCGIFADDR

SIOCGIFBRDADDR

added in API level 21
int SIOCGIFBRDADDR

SIOCGIFDSTADDR

added in API level 21
int SIOCGIFDSTADDR

SIOCGIFNETMASK

added in API level 21
int SIOCGIFNETMASK

SOCK_DGRAM

added in API level 21
int SOCK_DGRAM

SOCK_RAW

added in API level 21
int SOCK_RAW

SOCK_SEQPACKET

added in API level 21
int SOCK_SEQPACKET

SOCK_STREAM

added in API level 21
int SOCK_STREAM

SOL_SOCKET

added in API level 21
int SOL_SOCKET

SO_BINDTODEVICE

added in API level 21
int SO_BINDTODEVICE

SO_BROADCAST

added in API level 21
int SO_BROADCAST

SO_DEBUG

added in API level 21
int SO_DEBUG

SO_DONTROUTE

added in API level 21
int SO_DONTROUTE

SO_ERROR

added in API level 21
int SO_ERROR

SO_KEEPALIVE

added in API level 21
int SO_KEEPALIVE

SO_LINGER

added in API level 21
int SO_LINGER

SO_OOBINLINE

added in API level 21
int SO_OOBINLINE

SO_PASSCRED

added in API level 21
int SO_PASSCRED

SO_PEERCRED

added in API level 21
int SO_PEERCRED

SO_RCVBUF

added in API level 21
int SO_RCVBUF

SO_RCVLOWAT

added in API level 21
int SO_RCVLOWAT

SO_RCVTIMEO

added in API level 21
int SO_RCVTIMEO

SO_REUSEADDR

added in API level 21
int SO_REUSEADDR

SO_SNDBUF

added in API level 21
int SO_SNDBUF

SO_SNDLOWAT

added in API level 21
int SO_SNDLOWAT

SO_SNDTIMEO

added in API level 21
int SO_SNDTIMEO

SO_TYPE

added in API level 21
int SO_TYPE

STDERR_FILENO

added in API level 21
int STDERR_FILENO

STDIN_FILENO

added in API level 21
int STDIN_FILENO

STDOUT_FILENO

added in API level 21
int STDOUT_FILENO

ST_MANDLOCK

added in API level 23
int ST_MANDLOCK

ST_NOATIME

added in API level 23
int ST_NOATIME

ST_NODEV

added in API level 23
int ST_NODEV

ST_NODIRATIME

added in API level 23
int ST_NODIRATIME

ST_NOEXEC

added in API level 23
int ST_NOEXEC

ST_NOSUID

added in API level 23
int ST_NOSUID

ST_RDONLY

added in API level 23
int ST_RDONLY

ST_RELATIME

added in API level 23
int ST_RELATIME

ST_SYNCHRONOUS

added in API level 23
int ST_SYNCHRONOUS

S_IFBLK

added in API level 21
int S_IFBLK

S_IFCHR

added in API level 21
int S_IFCHR

S_IFDIR

added in API level 21
int S_IFDIR

S_IFIFO

added in API level 21
int S_IFIFO

S_IFLNK

added in API level 21
int S_IFLNK

S_IFMT

added in API level 21
int S_IFMT

S_IFREG

added in API level 21
int S_IFREG

S_IFSOCK

added in API level 21
int S_IFSOCK

S_IRGRP

added in API level 21
int S_IRGRP

S_IROTH

added in API level 21
int S_IROTH

S_IRUSR

added in API level 21
int S_IRUSR

S_IRWXG

added in API level 21
int S_IRWXG

S_IRWXO

added in API level 21
int S_IRWXO

S_IRWXU

added in API level 21
int S_IRWXU

S_ISGID

added in API level 21
int S_ISGID

S_ISUID

added in API level 21
int S_ISUID

S_ISVTX

added in API level 21
int S_ISVTX

S_IWGRP

added in API level 21
int S_IWGRP

S_IWOTH

added in API level 21
int S_IWOTH

S_IWUSR

added in API level 21
int S_IWUSR

S_IXGRP

added in API level 21
int S_IXGRP

S_IXOTH

added in API level 21
int S_IXOTH

S_IXUSR

added in API level 21
int S_IXUSR

TCP_NODELAY

added in API level 21
int TCP_NODELAY

TCP_USER_TIMEOUT

added in API level 26
int TCP_USER_TIMEOUT

WCONTINUED

added in API level 21
int WCONTINUED

WEXITED

added in API level 21
int WEXITED

WNOHANG

added in API level 21
int WNOHANG

WNOWAIT

added in API level 21
int WNOWAIT

WSTOPPED

added in API level 21
int WSTOPPED

WUNTRACED

added in API level 21
int WUNTRACED

W_OK

added in API level 21
int W_OK

X_OK

added in API level 21
int X_OK

_SC_2_CHAR_TERM

added in API level 21
int _SC_2_CHAR_TERM

_SC_2_C_BIND

added in API level 21
int _SC_2_C_BIND

_SC_2_C_DEV

added in API level 21
int _SC_2_C_DEV

_SC_2_C_VERSION

added in API level 21
int _SC_2_C_VERSION

_SC_2_FORT_DEV

added in API level 21
int _SC_2_FORT_DEV

_SC_2_FORT_RUN

added in API level 21
int _SC_2_FORT_RUN

_SC_2_LOCALEDEF

added in API level 21
int _SC_2_LOCALEDEF

_SC_2_SW_DEV

added in API level 21
int _SC_2_SW_DEV

_SC_2_UPE

added in API level 21
int _SC_2_UPE

_SC_2_VERSION

added in API level 21
int _SC_2_VERSION

_SC_AIO_LISTIO_MAX

added in API level 21
int _SC_AIO_LISTIO_MAX

_SC_AIO_MAX

added in API level 21
int _SC_AIO_MAX

_SC_AIO_PRIO_DELTA_MAX

added in API level 21
int _SC_AIO_PRIO_DELTA_MAX

_SC_ARG_MAX

added in API level 21
int _SC_ARG_MAX

_SC_ASYNCHRONOUS_IO

added in API level 21
int _SC_ASYNCHRONOUS_IO

_SC_ATEXIT_MAX

added in API level 21
int _SC_ATEXIT_MAX

_SC_AVPHYS_PAGES

added in API level 21
int _SC_AVPHYS_PAGES

_SC_BC_BASE_MAX

added in API level 21
int _SC_BC_BASE_MAX

_SC_BC_DIM_MAX

added in API level 21
int _SC_BC_DIM_MAX

_SC_BC_SCALE_MAX

added in API level 21
int _SC_BC_SCALE_MAX

_SC_BC_STRING_MAX

added in API level 21
int _SC_BC_STRING_MAX

_SC_CHILD_MAX

added in API level 21
int _SC_CHILD_MAX

_SC_CLK_TCK

added in API level 21
int _SC_CLK_TCK

_SC_COLL_WEIGHTS_MAX

added in API level 21
int _SC_COLL_WEIGHTS_MAX

_SC_DELAYTIMER_MAX

added in API level 21
int _SC_DELAYTIMER_MAX

_SC_EXPR_NEST_MAX

added in API level 21
int _SC_EXPR_NEST_MAX

_SC_FSYNC

added in API level 21
int _SC_FSYNC

_SC_GETGR_R_SIZE_MAX

added in API level 21
int _SC_GETGR_R_SIZE_MAX

_SC_GETPW_R_SIZE_MAX

added in API level 21
int _SC_GETPW_R_SIZE_MAX

_SC_IOV_MAX

added in API level 21
int _SC_IOV_MAX

_SC_JOB_CONTROL

added in API level 21
int _SC_JOB_CONTROL

_SC_LINE_MAX

added in API level 21
int _SC_LINE_MAX

_SC_LOGIN_NAME_MAX

added in API level 21
int _SC_LOGIN_NAME_MAX

_SC_MAPPED_FILES

added in API level 21
int _SC_MAPPED_FILES

_SC_MEMLOCK

added in API level 21
int _SC_MEMLOCK

_SC_MEMLOCK_RANGE

added in API level 21
int _SC_MEMLOCK_RANGE

_SC_MEMORY_PROTECTION

added in API level 21
int _SC_MEMORY_PROTECTION

_SC_MESSAGE_PASSING

added in API level 21
int _SC_MESSAGE_PASSING

_SC_MQ_OPEN_MAX

added in API level 21
int _SC_MQ_OPEN_MAX

_SC_MQ_PRIO_MAX

added in API level 21
int _SC_MQ_PRIO_MAX

_SC_NGROUPS_MAX

added in API level 21
int _SC_NGROUPS_MAX

_SC_NPROCESSORS_CONF

added in API level 21
int _SC_NPROCESSORS_CONF

_SC_NPROCESSORS_ONLN

added in API level 21
int _SC_NPROCESSORS_ONLN

_SC_OPEN_MAX

added in API level 21
int _SC_OPEN_MAX

_SC_PAGESIZE

added in API level 21
int _SC_PAGESIZE

_SC_PAGE_SIZE

added in API level 21
int _SC_PAGE_SIZE

_SC_PASS_MAX

added in API level 21
int _SC_PASS_MAX

_SC_PHYS_PAGES

added in API level 21
int _SC_PHYS_PAGES

_SC_PRIORITIZED_IO

added in API level 21
int _SC_PRIORITIZED_IO

_SC_PRIORITY_SCHEDULING

added in API level 21
int _SC_PRIORITY_SCHEDULING

_SC_REALTIME_SIGNALS

added in API level 21
int _SC_REALTIME_SIGNALS

_SC_RE_DUP_MAX

added in API level 21
int _SC_RE_DUP_MAX

_SC_RTSIG_MAX

added in API level 21
int _SC_RTSIG_MAX

_SC_SAVED_IDS

added in API level 21
int _SC_SAVED_IDS

_SC_SEMAPHORES

added in API level 21
int _SC_SEMAPHORES

_SC_SEM_NSEMS_MAX

added in API level 21
int _SC_SEM_NSEMS_MAX

_SC_SEM_VALUE_MAX

added in API level 21
int _SC_SEM_VALUE_MAX

_SC_SHARED_MEMORY_OBJECTS

added in API level 21
int _SC_SHARED_MEMORY_OBJECTS

_SC_SIGQUEUE_MAX

added in API level 21
int _SC_SIGQUEUE_MAX

_SC_STREAM_MAX

added in API level 21
int _SC_STREAM_MAX

_SC_SYNCHRONIZED_IO

added in API level 21
int _SC_SYNCHRONIZED_IO

_SC_THREADS

added in API level 21
int _SC_THREADS

_SC_THREAD_ATTR_STACKADDR

added in API level 21
int _SC_THREAD_ATTR_STACKADDR

_SC_THREAD_ATTR_STACKSIZE

added in API level 21
int _SC_THREAD_ATTR_STACKSIZE

_SC_THREAD_DESTRUCTOR_ITERATIONS

added in API level 21
int _SC_THREAD_DESTRUCTOR_ITERATIONS

_SC_THREAD_KEYS_MAX

added in API level 21
int _SC_THREAD_KEYS_MAX

_SC_THREAD_PRIORITY_SCHEDULING

added in API level 21
int _SC_THREAD_PRIORITY_SCHEDULING

_SC_THREAD_PRIO_INHERIT

added in API level 21
int _SC_THREAD_PRIO_INHERIT

_SC_THREAD_PRIO_PROTECT

added in API level 21
int _SC_THREAD_PRIO_PROTECT

_SC_THREAD_SAFE_FUNCTIONS

added in API level 21
int _SC_THREAD_SAFE_FUNCTIONS

_SC_THREAD_STACK_MIN

added in API level 21
int _SC_THREAD_STACK_MIN

_SC_THREAD_THREADS_MAX

added in API level 21
int _SC_THREAD_THREADS_MAX

_SC_TIMERS

added in API level 21
int _SC_TIMERS

_SC_TIMER_MAX

added in API level 21
int _SC_TIMER_MAX

_SC_TTY_NAME_MAX

added in API level 21
int _SC_TTY_NAME_MAX

_SC_TZNAME_MAX

added in API level 21
int _SC_TZNAME_MAX

_SC_VERSION

added in API level 21
int _SC_VERSION

_SC_XBS5_ILP32_OFF32

added in API level 21
int _SC_XBS5_ILP32_OFF32

_SC_XBS5_ILP32_OFFBIG

added in API level 21
int _SC_XBS5_ILP32_OFFBIG

_SC_XBS5_LP64_OFF64

added in API level 21
int _SC_XBS5_LP64_OFF64

_SC_XBS5_LPBIG_OFFBIG

added in API level 21
int _SC_XBS5_LPBIG_OFFBIG

_SC_XOPEN_CRYPT

added in API level 21
int _SC_XOPEN_CRYPT

_SC_XOPEN_ENH_I18N

added in API level 21
int _SC_XOPEN_ENH_I18N

_SC_XOPEN_LEGACY

added in API level 21
int _SC_XOPEN_LEGACY

_SC_XOPEN_REALTIME

added in API level 21
int _SC_XOPEN_REALTIME

_SC_XOPEN_REALTIME_THREADS

added in API level 21
int _SC_XOPEN_REALTIME_THREADS

_SC_XOPEN_SHM

added in API level 21
int _SC_XOPEN_SHM

_SC_XOPEN_UNIX

added in API level 21
int _SC_XOPEN_UNIX

_SC_XOPEN_VERSION

added in API level 21
int _SC_XOPEN_VERSION

_SC_XOPEN_XCU_VERSION

added in API level 21
int _SC_XOPEN_XCU_VERSION

Public methods

S_ISBLK

added in API level 21
boolean S_ISBLK (int mode)

Tests whether the given mode is a block device.

Parameters
mode int

Returns
boolean

S_ISCHR

added in API level 21
boolean S_ISCHR (int mode)

Tests whether the given mode is a character device.

Parameters
mode int

Returns
boolean

S_ISDIR

added in API level 21
boolean S_ISDIR (int mode)

Tests whether the given mode is a directory.

Parameters
mode int

Returns
boolean

S_ISFIFO

added in API level 21
boolean S_ISFIFO (int mode)

Tests whether the given mode is a FIFO.

Parameters
mode int

Returns
boolean

S_ISLNK

added in API level 21
boolean S_ISLNK (int mode)

Tests whether the given mode is a symbolic link.

Parameters
mode int

Returns
boolean

S_ISREG

added in API level 21
boolean S_ISREG (int mode)

Tests whether the given mode is a regular file.

Parameters
mode int

Returns
boolean

S_ISSOCK

added in API level 21
boolean S_ISSOCK (int mode)

Tests whether the given mode is a socket.

Parameters
mode int

Returns
boolean

WCOREDUMP

added in API level 21
boolean WCOREDUMP (int status)

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

Parameters
status int

Returns
boolean

WEXITSTATUS

added in API level 21
int WEXITSTATUS (int status)

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

Parameters
status int

Returns
int

WIFEXITED

added in API level 21
boolean WIFEXITED (int status)

Tests whether the child exited normally.

Parameters
status int

Returns
boolean

WIFSIGNALED

added in API level 21
boolean WIFSIGNALED (int status)

Tests whether the child was terminated by a signal.

Parameters
status int

Returns
boolean

WIFSTOPPED

added in API level 21
boolean WIFSTOPPED (int status)

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

Parameters
status int

Returns
boolean

WSTOPSIG

added in API level 21
int WSTOPSIG (int status)

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

Parameters
status int

Returns
int

WTERMSIG

added in API level 21
int WTERMSIG (int status)

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

Parameters
status int

Returns
int

errnoName

added in API level 21
String errnoName (int errno)

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

Parameters
errno int

Returns
String

gaiName

added in API level 21
String gaiName (int error)

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

Parameters
error int

Returns
String

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)