169 lines
8.8 KiB
C
169 lines
8.8 KiB
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS__POSIX_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS__POSIX_H_
|
|
#include "libc/runtime/symbolic.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
hidden extern const long _POSIX_ADVISORY_INFO;
|
|
hidden extern const long _POSIX_AIO_LISTIO_MAX;
|
|
hidden extern const long _POSIX_AIO_MAX;
|
|
hidden extern const long _POSIX_ARG_MAX;
|
|
hidden extern const long _POSIX_ASYNCHRONOUS_IO;
|
|
hidden extern const long _POSIX_BARRIERS;
|
|
hidden extern const long _POSIX_CHILD_MAX;
|
|
hidden extern const long _POSIX_CHOWN_RESTRICTED;
|
|
hidden extern const long _POSIX_CLOCKRES_MIN;
|
|
hidden extern const long _POSIX_CLOCK_SELECTION;
|
|
hidden extern const long _POSIX_CPUTIME;
|
|
hidden extern const long _POSIX_DELAYTIMER_MAX;
|
|
hidden extern const long _POSIX_FSYNC;
|
|
hidden extern const long _POSIX_HOST_NAME_MAX;
|
|
hidden extern const long _POSIX_IPV6;
|
|
hidden extern const long _POSIX_JOB_CONTROL;
|
|
hidden extern const long _POSIX_LINK_MAX;
|
|
hidden extern const long _POSIX_LOGIN_NAME_MAX;
|
|
hidden extern const long _POSIX_MAPPED_FILES;
|
|
hidden extern const long _POSIX_MAX_CANON;
|
|
hidden extern const long _POSIX_MAX_INPUT;
|
|
hidden extern const long _POSIX_MEMLOCK;
|
|
hidden extern const long _POSIX_MEMLOCK_RANGE;
|
|
hidden extern const long _POSIX_MEMORY_PROTECTION;
|
|
hidden extern const long _POSIX_MESSAGE_PASSING;
|
|
hidden extern const long _POSIX_MONOTONIC_CLOCK;
|
|
hidden extern const long _POSIX_MQ_OPEN_MAX;
|
|
hidden extern const long _POSIX_MQ_PRIO_MAX;
|
|
hidden extern const long _POSIX_NAME_MAX;
|
|
hidden extern const long _POSIX_NGROUPS_MAX;
|
|
hidden extern const long _POSIX_NO_TRUNC;
|
|
hidden extern const long _POSIX_OPEN_MAX;
|
|
hidden extern const long _POSIX_PATH_MAX;
|
|
hidden extern const long _POSIX_PIPE_BUF;
|
|
hidden extern const long _POSIX_RAW_SOCKETS;
|
|
hidden extern const long _POSIX_READER_WRITER_LOCKS;
|
|
hidden extern const long _POSIX_REALTIME_SIGNALS;
|
|
hidden extern const long _POSIX_REGEXP;
|
|
hidden extern const long _POSIX_RE_DUP_MAX;
|
|
hidden extern const long _POSIX_RTSIG_MAX;
|
|
hidden extern const long _POSIX_SAVED_IDS;
|
|
hidden extern const long _POSIX_SEMAPHORES;
|
|
hidden extern const long _POSIX_SEM_NSEMS_MAX;
|
|
hidden extern const long _POSIX_SEM_VALUE_MAX;
|
|
hidden extern const long _POSIX_SHARED_MEMORY_OBJECTS;
|
|
hidden extern const long _POSIX_SHELL;
|
|
hidden extern const long _POSIX_SIGQUEUE_MAX;
|
|
hidden extern const long _POSIX_SPAWN;
|
|
hidden extern const long _POSIX_SPIN_LOCKS;
|
|
hidden extern const long _POSIX_SSIZE_MAX;
|
|
hidden extern const long _POSIX_SS_REPL_MAX;
|
|
hidden extern const long _POSIX_STREAM_MAX;
|
|
hidden extern const long _POSIX_SYMLINK_MAX;
|
|
hidden extern const long _POSIX_SYMLOOP_MAX;
|
|
hidden extern const long _POSIX_THREADS;
|
|
hidden extern const long _POSIX_THREAD_ATTR_STACKADDR;
|
|
hidden extern const long _POSIX_THREAD_ATTR_STACKSIZE;
|
|
hidden extern const long _POSIX_THREAD_CPUTIME;
|
|
hidden extern const long _POSIX_THREAD_DESTRUCTOR_ITERATIONS;
|
|
hidden extern const long _POSIX_THREAD_KEYS_MAX;
|
|
hidden extern const long _POSIX_THREAD_PRIORITY_SCHEDULING;
|
|
hidden extern const long _POSIX_THREAD_PROCESS_SHARED;
|
|
hidden extern const long _POSIX_THREAD_SAFE_FUNCTIONS;
|
|
hidden extern const long _POSIX_THREAD_THREADS_MAX;
|
|
hidden extern const long _POSIX_TIMEOUTS;
|
|
hidden extern const long _POSIX_TIMERS;
|
|
hidden extern const long _POSIX_TIMER_MAX;
|
|
hidden extern const long _POSIX_TRACE_EVENT_NAME_MAX;
|
|
hidden extern const long _POSIX_TRACE_NAME_MAX;
|
|
hidden extern const long _POSIX_TRACE_SYS_MAX;
|
|
hidden extern const long _POSIX_TRACE_USER_EVENT_MAX;
|
|
hidden extern const long _POSIX_TTY_NAME_MAX;
|
|
hidden extern const long _POSIX_TZNAME_MAX;
|
|
hidden extern const long _POSIX_V6_LP64_OFF64;
|
|
hidden extern const long _POSIX_V7_LP64_OFF64;
|
|
hidden extern const long _POSIX_VDISABLE;
|
|
hidden extern const long _POSIX_VERSION;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#define _POSIX_ADVISORY_INFO SYMBOLIC(_POSIX_ADVISORY_INFO)
|
|
#define _POSIX_AIO_LISTIO_MAX SYMBOLIC(_POSIX_AIO_LISTIO_MAX)
|
|
#define _POSIX_AIO_MAX SYMBOLIC(_POSIX_AIO_MAX)
|
|
#define _POSIX_ARG_MAX SYMBOLIC(_POSIX_ARG_MAX)
|
|
#define _POSIX_ASYNCHRONOUS_IO SYMBOLIC(_POSIX_ASYNCHRONOUS_IO)
|
|
#define _POSIX_BARRIERS SYMBOLIC(_POSIX_BARRIERS)
|
|
#define _POSIX_CHILD_MAX SYMBOLIC(_POSIX_CHILD_MAX)
|
|
#define _POSIX_CHOWN_RESTRICTED SYMBOLIC(_POSIX_CHOWN_RESTRICTED)
|
|
#define _POSIX_CLOCKRES_MIN SYMBOLIC(_POSIX_CLOCKRES_MIN)
|
|
#define _POSIX_CLOCK_SELECTION SYMBOLIC(_POSIX_CLOCK_SELECTION)
|
|
#define _POSIX_CPUTIME SYMBOLIC(_POSIX_CPUTIME)
|
|
#define _POSIX_DELAYTIMER_MAX SYMBOLIC(_POSIX_DELAYTIMER_MAX)
|
|
#define _POSIX_FSYNC SYMBOLIC(_POSIX_FSYNC)
|
|
#define _POSIX_HOST_NAME_MAX SYMBOLIC(_POSIX_HOST_NAME_MAX)
|
|
#define _POSIX_IPV6 SYMBOLIC(_POSIX_IPV6)
|
|
#define _POSIX_JOB_CONTROL SYMBOLIC(_POSIX_JOB_CONTROL)
|
|
#define _POSIX_LINK_MAX SYMBOLIC(_POSIX_LINK_MAX)
|
|
#define _POSIX_LOGIN_NAME_MAX SYMBOLIC(_POSIX_LOGIN_NAME_MAX)
|
|
#define _POSIX_MAPPED_FILES SYMBOLIC(_POSIX_MAPPED_FILES)
|
|
#define _POSIX_MAX_CANON SYMBOLIC(_POSIX_MAX_CANON)
|
|
#define _POSIX_MAX_INPUT SYMBOLIC(_POSIX_MAX_INPUT)
|
|
#define _POSIX_MEMLOCK SYMBOLIC(_POSIX_MEMLOCK)
|
|
#define _POSIX_MEMLOCK_RANGE SYMBOLIC(_POSIX_MEMLOCK_RANGE)
|
|
#define _POSIX_MEMORY_PROTECTION SYMBOLIC(_POSIX_MEMORY_PROTECTION)
|
|
#define _POSIX_MESSAGE_PASSING SYMBOLIC(_POSIX_MESSAGE_PASSING)
|
|
#define _POSIX_MONOTONIC_CLOCK SYMBOLIC(_POSIX_MONOTONIC_CLOCK)
|
|
#define _POSIX_MQ_OPEN_MAX SYMBOLIC(_POSIX_MQ_OPEN_MAX)
|
|
#define _POSIX_MQ_PRIO_MAX SYMBOLIC(_POSIX_MQ_PRIO_MAX)
|
|
#define _POSIX_NAME_MAX SYMBOLIC(_POSIX_NAME_MAX)
|
|
#define _POSIX_NGROUPS_MAX SYMBOLIC(_POSIX_NGROUPS_MAX)
|
|
#define _POSIX_NO_TRUNC SYMBOLIC(_POSIX_NO_TRUNC)
|
|
#define _POSIX_OPEN_MAX SYMBOLIC(_POSIX_OPEN_MAX)
|
|
#define _POSIX_PATH_MAX SYMBOLIC(_POSIX_PATH_MAX)
|
|
#define _POSIX_PIPE_BUF SYMBOLIC(_POSIX_PIPE_BUF)
|
|
#define _POSIX_RAW_SOCKETS SYMBOLIC(_POSIX_RAW_SOCKETS)
|
|
#define _POSIX_READER_WRITER_LOCKS SYMBOLIC(_POSIX_READER_WRITER_LOCKS)
|
|
#define _POSIX_REALTIME_SIGNALS SYMBOLIC(_POSIX_REALTIME_SIGNALS)
|
|
#define _POSIX_REGEXP SYMBOLIC(_POSIX_REGEXP)
|
|
#define _POSIX_RE_DUP_MAX SYMBOLIC(_POSIX_RE_DUP_MAX)
|
|
#define _POSIX_RTSIG_MAX SYMBOLIC(_POSIX_RTSIG_MAX)
|
|
#define _POSIX_SAVED_IDS SYMBOLIC(_POSIX_SAVED_IDS)
|
|
#define _POSIX_SEMAPHORES SYMBOLIC(_POSIX_SEMAPHORES)
|
|
#define _POSIX_SEM_NSEMS_MAX SYMBOLIC(_POSIX_SEM_NSEMS_MAX)
|
|
#define _POSIX_SEM_VALUE_MAX SYMBOLIC(_POSIX_SEM_VALUE_MAX)
|
|
#define _POSIX_SHARED_MEMORY_OBJECTS SYMBOLIC(_POSIX_SHARED_MEMORY_OBJECTS)
|
|
#define _POSIX_SHELL SYMBOLIC(_POSIX_SHELL)
|
|
#define _POSIX_SIGQUEUE_MAX SYMBOLIC(_POSIX_SIGQUEUE_MAX)
|
|
#define _POSIX_SPAWN SYMBOLIC(_POSIX_SPAWN)
|
|
#define _POSIX_SPIN_LOCKS SYMBOLIC(_POSIX_SPIN_LOCKS)
|
|
#define _POSIX_SSIZE_MAX SYMBOLIC(_POSIX_SSIZE_MAX)
|
|
#define _POSIX_SS_REPL_MAX SYMBOLIC(_POSIX_SS_REPL_MAX)
|
|
#define _POSIX_STREAM_MAX SYMBOLIC(_POSIX_STREAM_MAX)
|
|
#define _POSIX_SYMLINK_MAX SYMBOLIC(_POSIX_SYMLINK_MAX)
|
|
#define _POSIX_SYMLOOP_MAX SYMBOLIC(_POSIX_SYMLOOP_MAX)
|
|
#define _POSIX_THREADS SYMBOLIC(_POSIX_THREADS)
|
|
#define _POSIX_THREAD_ATTR_STACKADDR SYMBOLIC(_POSIX_THREAD_ATTR_STACKADDR)
|
|
#define _POSIX_THREAD_ATTR_STACKSIZE SYMBOLIC(_POSIX_THREAD_ATTR_STACKSIZE)
|
|
#define _POSIX_THREAD_CPUTIME SYMBOLIC(_POSIX_THREAD_CPUTIME)
|
|
#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS \
|
|
SYMBOLIC(_POSIX_THREAD_DESTRUCTOR_ITERATIONS)
|
|
#define _POSIX_THREAD_KEYS_MAX SYMBOLIC(_POSIX_THREAD_KEYS_MAX)
|
|
#define _POSIX_THREAD_PRIORITY_SCHEDULING \
|
|
SYMBOLIC(_POSIX_THREAD_PRIORITY_SCHEDULING)
|
|
#define _POSIX_THREAD_PROCESS_SHARED SYMBOLIC(_POSIX_THREAD_PROCESS_SHARED)
|
|
#define _POSIX_THREAD_SAFE_FUNCTIONS SYMBOLIC(_POSIX_THREAD_SAFE_FUNCTIONS)
|
|
#define _POSIX_THREAD_THREADS_MAX SYMBOLIC(_POSIX_THREAD_THREADS_MAX)
|
|
#define _POSIX_TIMEOUTS SYMBOLIC(_POSIX_TIMEOUTS)
|
|
#define _POSIX_TIMERS SYMBOLIC(_POSIX_TIMERS)
|
|
#define _POSIX_TIMER_MAX SYMBOLIC(_POSIX_TIMER_MAX)
|
|
#define _POSIX_TRACE_EVENT_NAME_MAX SYMBOLIC(_POSIX_TRACE_EVENT_NAME_MAX)
|
|
#define _POSIX_TRACE_NAME_MAX SYMBOLIC(_POSIX_TRACE_NAME_MAX)
|
|
#define _POSIX_TRACE_SYS_MAX SYMBOLIC(_POSIX_TRACE_SYS_MAX)
|
|
#define _POSIX_TRACE_USER_EVENT_MAX SYMBOLIC(_POSIX_TRACE_USER_EVENT_MAX)
|
|
#define _POSIX_TTY_NAME_MAX SYMBOLIC(_POSIX_TTY_NAME_MAX)
|
|
#define _POSIX_TZNAME_MAX SYMBOLIC(_POSIX_TZNAME_MAX)
|
|
#define _POSIX_V6_LP64_OFF64 SYMBOLIC(_POSIX_V6_LP64_OFF64)
|
|
#define _POSIX_V7_LP64_OFF64 SYMBOLIC(_POSIX_V7_LP64_OFF64)
|
|
#define _POSIX_VDISABLE SYMBOLIC(_POSIX_VDISABLE)
|
|
#define _POSIX_VERSION SYMBOLIC(_POSIX_VERSION)
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS__POSIX_H_ */
|