mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
cbdee2790d
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com> * Makeconfig: Add shared-thread-library variable. * math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES. * sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES here. * sysdeps/m68k/fpu/e_acos.c: Likewise. * sysdeps/m68k/fpu/e_atan2.c: Likewise. * sysdeps/m68k/fpu/e_fmod.c: Likewise. * sysdeps/m68k/fpu/e_pow.c: Likewise. * sysdeps/m68k/fpu/e_scalb.c: Likewise. * sysdeps/m68k/fpu/k_cos.c: Likewise. * sysdeps/m68k/fpu/k_sin.c: Likewise. * sysdeps/m68k/fpu/k_tan.c: Likewise. * sysdeps/m68k/fpu/s_atan.c: Likewise. * sysdeps/m68k/fpu/s_ccos.c: Likewise. * sysdeps/m68k/fpu/s_ccosh.c: Likewise. * sysdeps/m68k/fpu/s_cexp.c: Likewise. * sysdeps/m68k/fpu/s_csin.c: Likewise. * sysdeps/m68k/fpu/s_csinh.c: Likewise. * sysdeps/m68k/fpu/s_frexp.c: Likewise. * sysdeps/m68k/fpu/s_ilogb.c: Likewise. * sysdeps/m68k/fpu/s_isinf.c: Likewise. * sysdeps/m68k/fpu/s_llrint.c: Likewise. * sysdeps/m68k/fpu/s_llrintf.c: Likewise. * sysdeps/m68k/fpu/s_llrintl.c: Likewise. * sysdeps/m68k/fpu/s_lrint.c: Likewise. * sysdeps/m68k/fpu/s_modf.c: Likewise. * sysdeps/m68k/fpu/s_remquo.c: Likewise. * sysdeps/m68k/fpu/s_scalbn.c: Likewise. * sysdeps/m68k/fpu/s_sincos.c: Likewise. * libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax, __libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo. * signal/Makefile (headers): Add bits/siginfo.h. (routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue. (distribute): Add testrtsig.h. * signal/allocrtsig.c: New file. * signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>. Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin, __libc_current_sigrtmax. * sysdeps/generic/sigqueue.c: New file. * sysdeps/generic/sigtimedwait.c: New file. * sysdeps/generic/sigwaitinfo.c: New file. * sysdeps/generic/testrtsig.h: New file. * sysdeps/generic/bits/siginfo.h: New file. * sysdeps/unix/sysv/linux/bits/siginfo.h: New file. * sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as old_kernel_sigaction and rename sa_handler member to k_sa_handler. * sysdeps/unix/sysv/linux/rt_sigaction.c: New file. * sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file. * sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file. * sysdeps/unix/sysv/linux/rt_sigreturn.c: New file. * sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file. * sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file. * sysdeps/unix/sysv/linux/sigpending.c: New file. * sysdeps/unix/sysv/linux/sigprocmask.c: New file. * sysdeps/unix/sysv/linux/sigqueue.c: New file. * sysdeps/unix/sysv/linux/sigreturn.c: New file. * sysdeps/unix/sysv/linux/sigtimedwait.c: New file. * sysdeps/unix/sysv/linux/sigwaitinfo.c: New file. * sysdeps/unix/sysv/linux/testrtsig.h: New file. * sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO. * sysdeps/unix/sysv/linux/syscalls.list: Update for AIO. * sysdeps/unix/sysv/linux/sigaction.c: Update for AIO. * sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME and _POSIX_REALTIME_SIGNALS. * sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO. * sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and update _NSIG. * sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO. * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific definitions. * Makefile (subdirs): Add rt. * shlib-versions: Add entry for librt. * rt/Makefile: New file. * rt/aio.h: New file. * rt/aio_cancel.c: New file. * rt/aio_error.c: New file. * rt/aio_fsync.c: New file. * rt/aio_misc.c: New file. * rt/aio_misc.h: New file. * rt/aio_read.c: New file. * rt/aio_read64.c: New file. * rt/aio_return.c: New file. * rt/aio_suspend.c: New file. * rt/aio_write.c: New file. * rt/aio_write64.c: New file. * rt/lio_listio.c: New file. * rt/lio_listio64.c: New file. * sysdeps/generic/aio_sigqueue.c: New file. * sysdeps/unix/sysv/linux/aio_sigqueue.c: New file. * sysdeps/unix/sysv/linux/Dist: Add new files * sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal] (sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait, rt_sigqueueinfo, rt_sigaction. * posix/Makefile (headers): Add bits/environments.h. * posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS and _CS_LFS_CFLAGS on 64bit platforms. * posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME and _XOPEN_REALTIME_THREADS. Include bits/environments.h. * sysdeps/generic/bits/confname.h: Define _SC_* constants for compilation modules. * sysdeps/wordsize-32/bits/environments.h: New file. * sysdeps/wordsize-64/bits/environments.h: New file. * posix/getopt.c: Remove declaration of getpid and __libc_pid. * posix/getopt_init.c: Test for value 0xf00baa of uninitialized __libc_pid. * sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to 0xf00baa. * string/string.h: Add declaration of __strverscmp. * string/strverscmp.c: Rename function ot __strverscmp and make old name weak alias. * sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid. * sysdeps/generic/enbl-secure.c: Likewise. * sysdeps/mach/hurd/dl-sysdep.c: Likewise. * sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print. * sysdeps/unix/sysv/linux/sys/pci.h: New file. 1997-12-03 Ulrich Drepper <drepper@cygnus.com> * posix/sys/wait.h: Use __transparent_union__ instead of transparent_union. Reported by Roland McGrath. 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> * resolv/inet_neta.c (inet_neta): Change type of first parameter to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu> [PR libc/366]. * resolv/inet_addr.c (inet_addr): Change return type to u_int32_t. * inet/arpa/inet.h: Change types of inet_neta and inet_addr. 1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de> * grp/initgroups.c: Increase buffer if it is too small. 1997-12-03 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit fields, this is no ISO C. Reported by Andreas Jaeger. 1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de> * sysdeps/i386/sys/ucontext.h (enum): Add missing commata. 1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk> * sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines _SYS_UTSNAME_H not _UTSNAME_H. 1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * elf/dl-profile.c (_dl_start_profile): Avoid overflow when computing s_scale. 1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now. * sysdeps/libm-ieee754/s_csqrtf.c: Likewise. * sysdeps/libm-ieee754/s_csqrtl.c: Likewise. * math/libm-test.c (csqrt_test): Add testcase. 1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sys/ultrasound.h: New file. * sysdeps/unix/sysv/linux/sys/Dist: Add it. * sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise. 1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration. 1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de> * math/libm-test.c (acos_test): Add more tests. (asin_test): Likewise. (atan_test): Likewise. (exp_test): Likewise. (sin_test): Likewise. (sqrt_test): Likewise. (cpow_test): Likewise. (csqrt_test): Likewise. (cexp_test): Correct typo in gcc version test. 1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk> * sysdeps/arm/__longjmp.S: Define _SETJMP_H before including <bits/setjmp.h>. * sysdeps/arm/setjmp.S: Likewise. * sysdeps/unix/sysv/linux/arm/bits/mman.h: New file. 1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk> * stdio/stdio.h: Add prototype for tmpfile64(). 1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk> * stdio/stdio.h (__stdio_gen_tempname): Add extra argument to prototype to keep in step with libio version. * stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS. 1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk> * sysdeps/generic/Makefile: Don't try to use make_siglist if cross-compiling. 1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns load GOT ptr before jumping to _exit. Reported by Xavier Leroy.
399 lines
13 KiB
C
399 lines
13 KiB
C
/* `sysconf', `pathconf', and `confstr' NAME values. Generic version.
|
|
Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
|
|
This file is part of the GNU C Library.
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public License as
|
|
published by the Free Software Foundation; either version 2 of the
|
|
License, or (at your option) any later version.
|
|
|
|
The GNU C Library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
#ifndef _UNISTD_H
|
|
# error "Never use <bits/confname.h> directly; include <unistd.h> instead."
|
|
#endif
|
|
|
|
/* Values for the NAME argument to `pathconf' and `fpathconf'. */
|
|
enum
|
|
{
|
|
_PC_LINK_MAX,
|
|
#define _PC_LINK_MAX _PC_LINK_MAX
|
|
_PC_MAX_CANON,
|
|
#define _PC_MAX_CANON _PC_MAX_CANON
|
|
_PC_MAX_INPUT,
|
|
#define _PC_MAX_INPUT _PC_MAX_INPUT
|
|
_PC_NAME_MAX,
|
|
#define _PC_NAME_MAX _PC_NAME_MAX
|
|
_PC_PATH_MAX,
|
|
#define _PC_PATH_MAX _PC_PATH_MAX
|
|
_PC_PIPE_BUF,
|
|
#define _PC_PIPE_BUF _PC_PIPE_BUF
|
|
_PC_CHOWN_RESTRICTED,
|
|
#define _PC_CHOWN_RESTRICTED _PC_CHOWN_RESTRICTED
|
|
_PC_NO_TRUNC,
|
|
#define _PC_NO_TRUNC _PC_NO_TRUNC
|
|
_PC_VDISABLE,
|
|
_PC_SYNC_IO,
|
|
#define _PC_SYNC_IO _PC_SYNC_IO
|
|
_PC_ASYNC_IO,
|
|
#define _PC_ASYNC_IO _PC_ASYNC_IO
|
|
_PC_PRIO_IO,
|
|
#define _PC_PRIO_IO _PC_PRIO_IO
|
|
_PC_SOCK_MAXBUF
|
|
#define _PC_SOCK_MAXBUF _PC_SOCK_MAXBUF
|
|
};
|
|
|
|
/* Values for the argument to `sysconf'. */
|
|
enum
|
|
{
|
|
_SC_ARG_MAX,
|
|
#define _SC_ARG_MAX _SC_ARG_MAX
|
|
_SC_CHILD_MAX,
|
|
#define _SC_CHILD_MAX _SC_CHILD_MAX
|
|
_SC_CLK_TCK,
|
|
#define _SC_CLK_TCK _SC_CLK_TCK
|
|
_SC_NGROUPS_MAX,
|
|
#define _SC_NGROUPS_MAX _SC_NGROUPS_MAX
|
|
_SC_OPEN_MAX,
|
|
#define _SC_OPEN_MAX _SC_OPEN_MAX
|
|
_SC_STREAM_MAX,
|
|
#define _SC_STREAM_MAX _SC_STREAM_MAX
|
|
_SC_TZNAME_MAX,
|
|
#define _SC_TZNAME_MAX _SC_TZNAME_MAX
|
|
_SC_JOB_CONTROL,
|
|
#define _SC_JOB_CONTROL _SC_JOB_CONTROL
|
|
_SC_SAVED_IDS,
|
|
#define _SC_SAVED_IDS _SC_SAVED_IDS
|
|
_SC_REALTIME_SIGNALS,
|
|
#define _SC_REALTIME_SIGNALS _SC_REALTIME_SIGNALS
|
|
_SC_PRIORITY_SCHEDULING,
|
|
#define _SC_PRIORITY_SCHEDULING _SC_PRIORITY_SCHEDULING
|
|
_SC_TIMERS,
|
|
#define _SC_TIMERS _SC_TIMERS
|
|
_SC_ASYNCHRONOUS_IO,
|
|
#define _SC_ASYNCHRONOUS_IO _SC_ASYNCHRONOUS_IO
|
|
_SC_PRIORITIZED_IO,
|
|
#define _SC_PRIORITIZED_IO _SC_PRIORITIZED_IO
|
|
_SC_SYNCHRONIZED_IO,
|
|
#define _SC_SYNCHRONIZED_IO _SC_SYNCHRONIZED_IO
|
|
_SC_FSYNC,
|
|
#define _SC_FSYNC _SC_FSYNC
|
|
_SC_MAPPED_FILES,
|
|
#define _SC_MAPPED_FILES _SC_MAPPED_FILES
|
|
_SC_MEMLOCK,
|
|
#define _SC_MEMLOCK _SC_MEMLOCK
|
|
_SC_MEMLOCK_RANGE,
|
|
#define _SC_MEMLOCK_RANGE _SC_MEMLOCK_RANGE
|
|
_SC_MEMORY_PROTECTION,
|
|
#define _SC_MEMORY_PROTECTION _SC_MEMORY_PROTECTION
|
|
_SC_MESSAGE_PASSING,
|
|
#define _SC_MESSAGE_PASSING _SC_MESSAGE_PASSING
|
|
_SC_SEMAPHORES,
|
|
#define _SC_SEMAPHORES _SC_SEMAPHORES
|
|
_SC_SHARED_MEMORY_OBJECTS,
|
|
#define _SC_SHARED_MEMORY_OBJECTS _SC_SHARED_MEMORY_OBJECTS
|
|
_SC_AIO_LISTIO_MAX,
|
|
#define _SC_AIO_LISTIO_MAX _SC_AIO_LISTIO_MAX
|
|
_SC_AIO_MAX,
|
|
#define _SC_AIO_MAX _SC_AIO_MAX
|
|
_SC_AIO_PRIO_DELTA_MAX,
|
|
#define _SC_AIO_PRIO_DELTA_MAX _SC_AIO_PRIO_DELTA_MAX
|
|
_SC_DELAYTIMER_MAX,
|
|
#define _SC_DELAYTIMER_MAX _SC_DELAYTIMER_MAX
|
|
_SC_MQ_OPEN_MAX,
|
|
#define _SC_MQ_OPEN_MAX _SC_MQ_OPEN_MAX
|
|
_SC_MQ_PRIO_MAX,
|
|
#define _SC_MQ_PRIO_MAX _SC_MQ_PRIO_MAX
|
|
_SC_VERSION,
|
|
#define _SC_VERSION _SC_VERSION
|
|
_SC_PAGESIZE,
|
|
#define _SC_PAGESIZE _SC_PAGESIZE
|
|
#define _SC_PAGE_SIZE _SC_PAGESIZE
|
|
_SC_RTSIG_MAX,
|
|
#define _SC_RTSIG_MAX _SC_RTSIG_MAX
|
|
_SC_SEM_NSEMS_MAX,
|
|
#define _SC_SEM_NSEMS_MAX _SC_SEM_NSEMS_MAX
|
|
_SC_SEM_VALUE_MAX,
|
|
#define _SC_SEM_VALUE_MAX _SC_SEM_VALUE_MAX
|
|
_SC_SIGQUEUE_MAX,
|
|
#define _SC_SIGQUEUE_MAX _SC_SIGQUEUE_MAX
|
|
_SC_TIMER_MAX,
|
|
#define _SC_TIMER_MAX _SC_TIMER_MAX
|
|
|
|
/* Values for the argument to `sysconf'
|
|
corresponding to _POSIX2_* symbols. */
|
|
_SC_BC_BASE_MAX,
|
|
#define _SC_BC_BASE_MAX _SC_BC_BASE_MAX
|
|
_SC_BC_DIM_MAX,
|
|
#define _SC_BC_DIM_MAX _SC_BC_DIM_MAX
|
|
_SC_BC_SCALE_MAX,
|
|
#define _SC_BC_SCALE_MAX _SC_BC_SCALE_MAX
|
|
_SC_BC_STRING_MAX,
|
|
#define _SC_BC_STRING_MAX _SC_BC_STRING_MAX
|
|
_SC_COLL_WEIGHTS_MAX,
|
|
#define _SC_COLL_WEIGHTS_MAX _SC_COLL_WEIGHTS_MAX
|
|
_SC_EQUIV_CLASS_MAX,
|
|
#define _SC_EQUIV_CLASS_MAX _SC_EQUIV_CLASS_MAX
|
|
_SC_EXPR_NEST_MAX,
|
|
#define _SC_EXPR_NEST_MAX _SC_EXPR_NEST_MAX
|
|
_SC_LINE_MAX,
|
|
#define _SC_LINE_MAX _SC_LINE_MAX
|
|
_SC_RE_DUP_MAX,
|
|
#define _SC_RE_DUP_MAX _SC_RE_DUP_MAX
|
|
_SC_CHARCLASS_NAME_MAX,
|
|
#define _SC_CHARCLASS_NAME_MAX _SC_CHARCLASS_NAME_MAX
|
|
|
|
_SC_2_VERSION,
|
|
#define _SC_2_VERSION _SC_2_VERSION
|
|
_SC_2_C_BIND,
|
|
#define _SC_2_C_BIND _SC_2_C_BIND
|
|
_SC_2_C_DEV,
|
|
#define _SC_2_C_DEV _SC_2_C_DEV
|
|
_SC_2_FORT_DEV,
|
|
#define _SC_2_FORT_DEV _SC_2_FORT_DEV
|
|
_SC_2_FORT_RUN,
|
|
#define _SC_2_FORT_RUN _SC_2_FORT_RUN
|
|
_SC_2_SW_DEV,
|
|
#define _SC_2_SW_DEV _SC_2_SW_DEV
|
|
_SC_2_LOCALEDEF,
|
|
#define _SC_2_LOCALEDEF _SC_2_LOCALEDEF
|
|
|
|
_SC_PII,
|
|
#define _SC_PII _SC_PII
|
|
_SC_PII_XTI,
|
|
#define _SC_PII_XTI _SC_PII_XTI
|
|
_SC_PII_SOCKET,
|
|
#define _SC_PII_SOCKET _SC_PII_SOCKET
|
|
_SC_PII_INTERNET,
|
|
#define _SC_PII_INTERNET _SC_PII_INTERNET
|
|
_SC_PII_OSI,
|
|
#define _SC_PII_OSI _SC_PII_OSI
|
|
_SC_POLL,
|
|
#define _SC_POLL _SC_POLL
|
|
_SC_SELECT,
|
|
#define _SC_SELECT _SC_SELECT
|
|
_SC_UIO_MAXIOV,
|
|
#define _SC_UIO_MAXIOV _SC_UIO_MAXIOV
|
|
_SC_PII_INTERNET_STREAM,
|
|
#define _SC_PII_INTERNET_STREAM _SC_PII_INTERNET_STREAM
|
|
_SC_PII_INTERNET_DGRAM,
|
|
#define _SC_PII_INTERNET_DGRAM _SC_PII_INTERNET_DGRAM
|
|
_SC_PII_OSI_COTS,
|
|
#define _SC_PII_OSI_COTS _SC_PII_OSI_COTS
|
|
_SC_PII_OSI_CLTS,
|
|
#define _SC_PII_OSI_CLTS _SC_PII_OSI_CLTS
|
|
_SC_PII_OSI_M,
|
|
#define _SC_PII_OSI_M _SC_PII_OSI_M
|
|
_SC_T_IOV_MAX,
|
|
#define _SC_T_IOV_MAX _SC_T_IOV_MAX
|
|
|
|
/* Values according to POSIX 1003.1c (POSIX threads). */
|
|
_SC_THREADS,
|
|
#define _SC_THREADS _SC_THREADS
|
|
_SC_THREAD_SAFE_FUNCTIONS,
|
|
#define _SC_THREAD_SAFE_FUNCTIONS _SC_THREAD_SAFE_FUNCTIONS
|
|
_SC_GETGR_R_SIZE_MAX,
|
|
#define _SC_GETGR_R_SIZE_MAX _SC_GETGR_R_SIZE_MAX
|
|
_SC_GETPW_R_SIZE_MAX,
|
|
#define _SC_GETPW_R_SIZE_MAX _SC_GETPW_R_SIZE_MAX
|
|
_SC_LOGIN_NAME_MAX,
|
|
#define _SC_LOGIN_NAME_MAX _SC_LOGIN_NAME_MAX
|
|
_SC_TTY_NAME_MAX,
|
|
#define _SC_TTY_NAME_MAX _SC_TTY_NAME_MAX
|
|
_SC_THREAD_DESTRUCTOR_ITERATIONS,
|
|
#define _SC_THREAD_DESTRUCTOR_ITERATIONS _SC_THREAD_DESTRUCTOR_ITERATIONS
|
|
_SC_THREAD_KEYS_MAX,
|
|
#define _SC_THREAD_KEYS_MAX _SC_THREAD_KEYS_MAX
|
|
_SC_THREAD_STACK_MIN,
|
|
#define _SC_THREAD_STACK_MIN _SC_THREAD_STACK_MIN
|
|
_SC_THREAD_THREADS_MAX,
|
|
#define _SC_THREAD_THREADS_MAX _SC_THREAD_THREADS_MAX
|
|
_SC_THREAD_ATTR_STACKADDR,
|
|
#define _SC_THREAD_ATTR_STACKADDR _SC_THREAD_ATTR_STACKADDR
|
|
_SC_THREAD_ATTR_STACKSIZE,
|
|
#define _SC_THREAD_ATTR_STACKSIZE _SC_THREAD_ATTR_STACKSIZE
|
|
_SC_THREAD_PRIORITY_SCHEDULING,
|
|
#define _SC_THREAD_PRIORITY_SCHEDULING _SC_THREAD_PRIORITY_SCHEDULING
|
|
_SC_THREAD_PRIO_INHERIT,
|
|
#define _SC_THREAD_PRIO_INHERIT _SC_THREAD_PRIO_INHERIT
|
|
_SC_THREAD_PRIO_PROTECT,
|
|
#define _SC_THREAD_PRIO_PROTECT _SC_THREAD_PRIO_PROTECT
|
|
_SC_THREAD_PROCESS_SHARED,
|
|
#define _SC_THREAD_PROCESS_SHARED _SC_THREAD_PROCESS_SHARED
|
|
|
|
_SC_NPROCESSORS_CONF,
|
|
#define _SC_NPROCESSORS_CONF _SC_NPROCESSORS_CONF
|
|
_SC_NPROCESSORS_ONLN,
|
|
#define _SC_NPROCESSORS_ONLN _SC_NPROCESSORS_ONLN
|
|
_SC_PHYS_PAGES,
|
|
#define _SC_PHYS_PAGES _SC_PHYS_PAGES
|
|
_SC_AVPHYS_PAGES,
|
|
#define _SC_AVPHYS_PAGES _SC_AVPHYS_PAGES
|
|
_SC_ATEXIT_MAX,
|
|
#define _SC_ATEXIT_MAX _SC_ATEXIT_MAX
|
|
_SC_PASS_MAX,
|
|
#define _SC_PASS_MAX _SC_PASS_MAX
|
|
|
|
_SC_XOPEN_VERSION,
|
|
#define _SC_XOPEN_VERSION _SC_XOPEN_VERSION
|
|
_SC_XOPEN_XCU_VERSION,
|
|
#define _SC_XOPEN_XCU_VERSION _SC_XOPEN_XCU_VERSION
|
|
_SC_XOPEN_UNIX,
|
|
#define _SC_XOPEN_UNIX _SC_XOPEN_UNIX
|
|
_SC_XOPEN_CRYPT,
|
|
#define _SC_XOPEN_CRYPT _SC_XOPEN_CRYPT
|
|
_SC_XOPEN_ENH_I18N,
|
|
#define _SC_XOPEN_ENH_I18N _SC_XOPEN_ENH_I18N
|
|
_SC_XOPEN_SHM,
|
|
#define _SC_XOPEN_SHM _SC_XOPEN_SHM
|
|
|
|
_SC_2_CHAR_TERM,
|
|
#define _SC_2_CHAR_TERM _SC_2_CHAR_TERM
|
|
_SC_2_C_VERSION,
|
|
#define _SC_2_C_VERSION _SC_2_C_VERSION
|
|
_SC_2_UPE,
|
|
#define _SC_2_UPE _SC_2_UPE
|
|
|
|
_SC_XOPEN_XPG2,
|
|
#define _SC_XOPEN_XPG2 _SC_XOPEN_XPG2
|
|
_SC_XOPEN_XPG3,
|
|
#define _SC_XOPEN_XPG3 _SC_XOPEN_XPG3
|
|
_SC_XOPEN_XPG4,
|
|
#define _SC_XOPEN_XPG4 _SC_XOPEN_XPG4
|
|
|
|
_SC_CHAR_BIT,
|
|
#define _SC_CHAR_BIT _SC_CHAR_BIT
|
|
_SC_CHAR_MAX,
|
|
#define _SC_CHAR_MAX _SC_CHAR_MAX
|
|
_SC_CHAR_MIN,
|
|
#define _SC_CHAR_MIN _SC_CHAR_MIN
|
|
_SC_INT_MAX,
|
|
#define _SC_INT_MAX _SC_INT_MAX
|
|
_SC_INT_MIN,
|
|
#define _SC_INT_MIN _SC_INT_MIN
|
|
_SC_LONG_BIT,
|
|
#define _SC_LONG_BIT _SC_LONG_BIT
|
|
_SC_WORD_BIT,
|
|
#define _SC_WORD_BIT _SC_WORD_BIT
|
|
_SC_MB_LEN_MAX,
|
|
#define _SC_MB_LEN_MAX _SC_MB_LEN_MAX
|
|
_SC_NZERO,
|
|
#define _SC_NZERO _SC_NZERO
|
|
_SC_SSIZE_MAX,
|
|
#define _SC_SSIZE_MAX _SC_SSIZE_MAX
|
|
_SC_SCHAR_MAX,
|
|
#define _SC_SCHAR_MAX _SC_SCHAR_MAX
|
|
_SC_SCHAR_MIN,
|
|
#define _SC_SCHAR_MIN _SC_SCHAR_MIN
|
|
_SC_SHRT_MAX,
|
|
#define _SC_SHRT_MAX _SC_SHRT_MAX
|
|
_SC_SHRT_MIN,
|
|
#define _SC_SHRT_MIN _SC_SHRT_MIN
|
|
_SC_UCHAR_MAX,
|
|
#define _SC_UCHAR_MAX _SC_UCHAR_MAX
|
|
_SC_UINT_MAX,
|
|
#define _SC_UINT_MAX _SC_UINT_MAX
|
|
_SC_ULONG_MAX,
|
|
#define _SC_ULONG_MAX _SC_ULONG_MAX
|
|
_SC_USHRT_MAX,
|
|
#define _SC_USHRT_MAX _SC_USHRT_MAX
|
|
|
|
_SC_NL_ARGMAX,
|
|
#define _SC_NL_ARGMAX _SC_NL_ARGMAX
|
|
_SC_NL_LANGMAX,
|
|
#define _SC_NL_LANGMAX _SC_NL_LANGMAX
|
|
_SC_NL_MSGMAX,
|
|
#define _SC_NL_MSGMAX _SC_NL_MSGMAX
|
|
_SC_NL_NMAX,
|
|
#define _SC_NL_NMAX _SC_NL_NMAX
|
|
_SC_NL_SETMAX,
|
|
#define _SC_NL_SETMAX _SC_NL_SETMAX
|
|
_SC_NL_TEXTMAX,
|
|
#define _SC_NL_TEXTMAX _SC_NL_TEXTMAX
|
|
|
|
_SC_XBS5_ILP32_OFF32,
|
|
#define _SC_XBS5_ILP32_OFF32 _SC_XBS5_ILP32_OFF32
|
|
_SC_XBS5_ILP32_OFFBIG,
|
|
#define _SC_XBS5_ILP32_OFFBIG _SC_XBS5_ILP32_OFFBIG
|
|
_SC_XBS5_LP64_OFF64,
|
|
#define _SC_XBS5_LP64_OFF64 _SC_XBS5_LP64_OFF64
|
|
_SC_XBS5_LPBIG_OFFBIG
|
|
#define _SC_XBS5_LPBIG_OFFBIG _SC_XBS5_LPBIG_OFFBIG
|
|
};
|
|
|
|
#if (defined __USE_POSIX2 || defined __USE_UNIX98 \
|
|
|| defined __USE_FILE_OFFSET64 || defined __USE_LARGEFILE64 \
|
|
|| defined __USE_LARGEFILE)
|
|
/* Values for the NAME argument to `confstr'. */
|
|
enum
|
|
{
|
|
_CS_PATH /* The default search path. */
|
|
#define _CS_PATH _CS_PATH
|
|
|
|
#if (defined __USE_FILE_OFFSET64 || defined __USE_LARGEFILE64 \
|
|
|| defined __USE_LARGEFILE)
|
|
,
|
|
_CS_LFS_CFLAGS = 1000,
|
|
# define _CS_LFS_CFLAGS _CS_LFS_CFLAGS
|
|
_CS_LFS_LDFLAGS,
|
|
# define _CS_LFS_LDFLAGS _CS_LFS_LDFLAGS
|
|
_CS_LFS_LIBS,
|
|
# define _CS_LFS_LIBS _CS_LFS_LIBS
|
|
_CS_LFS_LINTFLAGS,
|
|
# define _CS_LFS_LINTFLAGS _CS_LFS_LINTFLAGS
|
|
_CS_LFS64_CFLAGS,
|
|
# define _CS_LFS64_CFLAGS _CS_LFS64_CFLAGS
|
|
_CS_LFS64_LDFLAGS,
|
|
# define _CS_LFS64_LDFLAGS _CS_LFS64_LDFLAGS
|
|
_CS_LFS64_LIBS,
|
|
# define _CS_LFS64_LIBS _CS_LFS64_LIBS
|
|
_CS_LFS64_LINTFLAGS
|
|
# define _CS_LFS64_LINTFLAGS _CS_LFS64_LINTFLAGS
|
|
#endif
|
|
|
|
#ifdef __USE_UNIX98
|
|
,
|
|
_CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
|
|
# define _CS_XBS5_ILP32_OFF32_CFLAGS _CS_XBS5_ILP32_OFF32_CFLAGS
|
|
_CS_XBS5_ILP32_OFF32_LDFLAGS,
|
|
# define _CS_XBS5_ILP32_OFF32_LDFLAGS _CS_XBS5_ILP32_OFF32_LDFLAGS
|
|
_CS_XBS5_ILP32_OFF32_LIBS,
|
|
# define _CS_XBS5_ILP32_OFF32_LIBS _CS_XBS5_ILP32_OFF32_LIBS
|
|
_CS_XBS5_ILP32_OFF32_LINTFLAGS,
|
|
# define _CS_XBS5_ILP32_OFF32_LINTFLAGS _CS_XBS5_ILP32_OFF32_LINTFLAGS
|
|
_CS_XBS5_ILP32_OFFBIG_CFLAGS,
|
|
# define _CS_XBS5_ILP32_OFFBIG_CFLAGS _CS_XBS5_ILP32_OFFBIG_CFLAGS
|
|
_CS_XBS5_ILP32_OFFBIG_LDFLAGS,
|
|
# define _CS_XBS5_ILP32_OFFBIG_LDFLAGS _CS_XBS5_ILP32_OFFBIG_LDFLAGS
|
|
_CS_XBS5_ILP32_OFFBIG_LIBS,
|
|
# define _CS_XBS5_ILP32_OFFBIG_LIBS _CS_XBS5_ILP32_OFFBIG_LIBS
|
|
_CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
|
|
# define _CS_XBS5_ILP32_OFFBIG_LINTFLAGS _CS_XBS5_ILP32_OFFBIG_LINTFLAGS
|
|
_CS_XBS5_LP64_OFF64_CFLAGS,
|
|
# define _CS_XBS5_LP64_OFF64_CFLAGS _CS_XBS5_LP64_OFF64_CFLAGS
|
|
_CS_XBS5_LP64_OFF64_LDFLAGS,
|
|
# define _CS_XBS5_LP64_OFF64_LDFLAGS _CS_XBS5_LP64_OFF64_LDFLAGS
|
|
_CS_XBS5_LP64_OFF64_LIBS,
|
|
# define _CS_XBS5_LP64_OFF64_LIBS _CS_XBS5_LP64_OFF64_LIBS
|
|
_CS_XBS5_LP64_OFF64_LINTFLAGS,
|
|
# define _CS_XBS5_LP64_OFF64_LINTFLAGS _CS_XBS5_LP64_OFF64_LINTFLAGS
|
|
_CS_XBS5_LPBIG_OFFBIG_CFLAGS,
|
|
# define _CS_XBS5_LPBIG_OFFBIG_CFLAGS _CS_XBS5_LPBIG_OFFBIG_CFLAGS
|
|
_CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
|
|
# define _CS_XBS5_LPBIG_OFFBIG_LDFLAGS _CS_XBS5_LPBIG_OFFBIG_LDFLAGS
|
|
_CS_XBS5_LPBIG_OFFBIG_LIBS,
|
|
# define _CS_XBS5_LPBIG_OFFBIG_LIBS _CS_XBS5_LPBIG_OFFBIG_LIBS
|
|
_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
|
|
# define _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS
|
|
#endif
|
|
};
|
|
#endif
|