.\" Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
.\"
+.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, write to the Free
-.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
-.\" USA.
+.\" License along with this manual; if not, see
+.\" <http://www.gnu.org/licenses/>.
+.\" %%%LICENSE_END
.\"
.TH POSIXOPTIONS 7 2007-12-21 "" "Linux Programmer's Manual"
.SH NAME
.BR sysconf (3).
.LP
We give the name of the POSIX abbreviation, the option, the name of the
-.BR sysconf ()
+.BR sysconf (3)
parameter used to inquire about the option, and possibly
a very short description.
Much more precise detail can be found in the POSIX standard itself,
versions of which can nowadays be accessed freely on the web.
-.SS "ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO"
+.SS ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO
The following advisory functions are present:
.br
.nf
.br
.in -4
.fi
-.SS "AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO"
+.SS AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO
The header
.I <aio.h>
is present.
.br
.in -4
.fi
-.SS "BAR - _POSIX_BARRIERS - _SC_BARRIERS"
+.SS BAR - _POSIX_BARRIERS - _SC_BARRIERS
This option implies the
.B _POSIX_THREADS
and
.\" Batch environment.
.\" .SS "CD"
.\" C development.
-.SS "--- - POSIX_CHOWN_RESTRICTED"
-If this option is in effect (as it always is under POSIX.1-2001)
-then only root may change the owner of a file, and nonroot can only
-set the group of a file to one of the groups it belongs to.
+.SS --- - POSIX_CHOWN_RESTRICTED
+If this option is in effect (as it always is under POSIX.1-2001),
+then only root may change the owner of a file, and nonroot can
+set the group of a file only to one of the groups it belongs to.
This affects the functions
.IR chown (),
.IR fchown ().
.\" What about lchown() ?
-.SS "CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION"
+.SS CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION
This option implies the
.B _POSIX_TIMERS
option.
is changed by the function
.IR clock_settime (),
then this affects all timers set for an absolute time.
-.SS "CPT - _POSIX_CPUTIME - _SC_CPUTIME"
+.SS CPT - _POSIX_CPUTIME - _SC_CPUTIME
The clockID CLOCK_PROCESS_CPUTIME_ID is supported.
The initial value of this clock is 0 for each process.
This option implies the
.\" Fortran development
.\" .SS "FR"
.\" Fortran runtime
-.SS "--- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING"
+.SS --- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING
This option has been deleted.
Not in final XPG6.
-.SS "FSC - _POSIX_FSYNC - _SC_FSYNC "
+.SS FSC - _POSIX_FSYNC - _SC_FSYNC
The function
.IR fsync ()
is present.
-.SS "IP6 - _POSIX_IPV6 - _SC_IPV6"
+.SS IP6 - _POSIX_IPV6 - _SC_IPV6
Internet Protocol Version 6 is supported.
-.SS "--- - _POSIX_JOB_CONTROL - _SC_JOB_CONTROL"
-If this option is in effect (as it always is under POSIX.1-2001)
+.SS --- - _POSIX_JOB_CONTROL - _SC_JOB_CONTROL
+If this option is in effect (as it always is under POSIX.1-2001),
then the system implements POSIX-style job control,
and the following functions are present:
.br
.IR tcsetpgrp ().
.in -4
.fi
-.SS "MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES"
+.SS MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES
Shared memory is supported.
The include file
.I <sys/mman.h>
.IR mmap (),
.IR msync (),
.IR munmap ().
-.SS "ML - _POSIX_MEMLOCK - _SC_MEMLOCK"
+.SS ML - _POSIX_MEMLOCK - _SC_MEMLOCK
Shared memory can be locked into core.
The functions
.IR mlockall (),
.IR munlockall ()
are present.
-.SS "MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE"
+.SS MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE
More precisely, ranges can be locked into core.
The functions
.IR mlock (),
.IR munlock ()
are present.
-.SS "MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION"
+.SS MPR - _POSIX_MEMORY_PROTECTION - _SC_MEMORY_PROTECTION
The function
.IR mprotect ()
is present.
-.SS "MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING"
+.SS MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING
The include file
.I <mqueue.h>
is present.
.br
.in -4
.fi
-.SS "MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK"
+.SS MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK
.B CLOCK_MONOTONIC
is supported.
This option implies the
.IR timer_create ().
.in -4
.fi
-.SS "--- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS"
+.SS --- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS
This option has been deleted.
Not in final XPG6.
.\" .SS "MX"
.\" IEC 60559 Floating-Point Option.
-.SS "--- - _POSIX_NO_TRUNC"
+.SS --- - _POSIX_NO_TRUNC
If this option is in effect (as it always is under POSIX.1-2001)
then pathname components longer than
.B NAME_MAX
are not truncated,
but give an error.
This property may be dependent on the path prefix of the component.
-.SS "PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO"
+.SS PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO
This option says that one can specify priorities for asynchronous I/O.
This affects the functions
.br
.IR aio_write ().
.in -4
.fi
-.SS "PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING"
+.SS PS - _POSIX_PRIORITY_SCHEDULING - _SC_PRIORITY_SCHEDULING
The include file
.I <sched.h>
is present.
.IR posix_spawnattr_setschedpolicy ().
.in -4
.fi
-.SS "RS - _POSIX_RAW_SOCKETS"
+.SS RS - _POSIX_RAW_SOCKETS
Raw sockets are supported.
Affected functions are
.IR getsockopt (),
.IR setsockopt ().
-.SS "--- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS"
+.SS --- - _POSIX_READER_WRITER_LOCKS - _SC_READER_WRITER_LOCKS
This option implies the
.B _POSIX_THREADS
option.
.IR pthread_rwlockattr_init ().
.in -4
.fi
-.SS "RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS"
+.SS RTS - _POSIX_REALTIME_SIGNALS - _SC_REALTIME_SIGNALS
Realtime signals are supported.
The following functions are present:
.br
.br
.in -4
.fi
-.SS "--- - _POSIX_REGEXP - _SC_REGEXP"
+.SS --- - _POSIX_REGEXP - _SC_REGEXP
If this option is in effect (as it always is under POSIX.1-2001)
then POSIX regular expressions are supported
and the following functions are present:
.br
.in -4
.fi
-.SS "--- - _POSIX_SAVED_IDS - _SC_SAVED_IDS"
-If this option is in effect (as it always is under POSIX.1-2001)
+.SS --- - _POSIX_SAVED_IDS - _SC_SAVED_IDS
+If this option is in effect (as it always is under POSIX.1-2001),
then a process has a saved set-user-ID and a saved set-group-ID.
Affected functions are
.br
.fi
.\" .SS "SD"
.\" Software development
-.SS "SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES"
+.SS SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES
The include file
.I <semaphore.h>
is present.
.br
.in -4
.fi
-.SS "SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS"
+.SS SHM - _POSIX_SHARED_MEMORY_OBJECTS - _SC_SHARED_MEMORY_OBJECTS
The following functions are present:
.br
.nf
.br
.in -4
.fi
-.SS "--- - _POSIX_SHELL - _SC_SHELL"
+.SS --- - _POSIX_SHELL - _SC_SHELL
If this option is in effect (as it always is under POSIX.1-2001),
the function
.IR system ()
is present.
-.SS "SPN - _POSIX_SPAWN - _SC_SPAWN"
+.SS SPN - _POSIX_SPAWN - _SC_SPAWN
This option describes support for process creation in a context where
it is difficult or impossible to use
.IR fork (),
.IR posix_spawnattr_setschedpolicy ().
.in -4
.fi
-.SS "SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS"
+.SS SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS
This option implies the
.B _POSIX_THREADS
and
.in -4
.br
.fi
-.SS "SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER"
+.SS SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER
The scheduling policy
.B SCHED_SPORADIC
is supported.
.in -4
.br
.fi
-.SS "SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO"
+.SS SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO
Affected functions are
.IR open (),
.IR msync (),
.IR fsync (),
.IR fdatasync ().
-.SS "TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR"
+.SS TSA - _POSIX_THREAD_ATTR_STACKADDR - _SC_THREAD_ATTR_STACKADDR
Affected functions are
.br
.nf
.in -4
.br
.fi
-.SS "TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE"
+.SS TSS - _POSIX_THREAD_ATTR_STACKSIZE - _SC_THREAD_ATTR_STACKSIZE
Affected functions are
.br
.nf
.in -4
.br
.fi
-.SS "TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME"
+.SS TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME
The clockID CLOCK_THREAD_CPUTIME_ID is supported.
This option implies the
.B _POSIX_TIMERS
.in -4
.br
.fi
-.SS "TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT"
+.SS TPI - _POSIX_THREAD_PRIO_INHERIT - _SC_THREAD_PRIO_INHERIT
Affected functions are
.br
.nf
.in -4
.br
.fi
-.SS "TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT"
+.SS TPP - _POSIX_THREAD_PRIO_PROTECT - _SC_THREAD_PRIO_PROTECT
Affected functions are
.br
.nf
.in -4
.br
.fi
-.SS "TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING"
+.SS TPS - _POSIX_THREAD_PRIORITY_SCHEDULING - _SC_THREAD_PRIORITY_SCHEDULING
If this option is in effect, the different threads inside a process
can run with different priorities and/or different schedulers.
Affected functions are
.in -4
.br
.fi
-.SS "TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED"
+.SS TSH - _POSIX_THREAD_PROCESS_SHARED - _SC_THREAD_PROCESS_SHARED
Affected functions are
.br
.nf
.in -4
.br
.fi
-.SS "TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS"
+.SS TSF - _POSIX_THREAD_SAFE_FUNCTIONS - _SC_THREAD_SAFE_FUNCTIONS
Affected functions are
.br
.nf
.in -4
.br
.fi
-.SS "TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER"
+.SS TSP - _POSIX_THREAD_SPORADIC_SERVER - _SC_THREAD_SPORADIC_SERVER
This option implies the
.B _POSIX_THREAD_PRIORITY_SCHEDULING
option.
.in -4
.br
.fi
-.SS "THR - _POSIX_THREADS - _SC_THREADS"
+.SS THR - _POSIX_THREADS - _SC_THREADS
Basic support for POSIX threads is available.
The following functions are present:
.br
.in -4
.br
.fi
-.SS "TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS"
+.SS TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS
The following functions are present:
.br
.nf
.in -4
.br
.fi
-.SS "TMR - _POSIX_TIMERS - _SC_TIMERS"
+.SS TMR - _POSIX_TIMERS - _SC_TIMERS
The following functions are present:
.br
.nf
.in -4
.br
.fi
-.SS "TRC - _POSIX_TRACE - _SC_TRACE"
+.SS TRC - _POSIX_TRACE - _SC_TRACE
POSIX tracing is available.
The following functions are present:
.br
.in -4
.br
.fi
-.SS "TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER"
+.SS TEF - _POSIX_TRACE_EVENT_FILTER - _SC_TRACE_EVENT_FILTER
This option implies the
.B _POSIX_TRACE
option.
.in -4
.br
.fi
-.SS "TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT"
+.SS TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT
Tracing children of the traced process is supported.
This option implies the
.B _POSIX_TRACE
.in -4
.br
.fi
-.SS "TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG"
+.SS TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG
This option implies the
.B _POSIX_TRACE
option.
.in -4
.br
.fi
-.SS "TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT"
+.SS TYM - _POSIX_TYPED_MEMORY_OBJECTS - _SC_TYPED_MEMORY_OBJECT
The following functions are present:
.br
.nf
.in -4
.br
.fi
-.SS "--- - _POSIX_VDISABLE"
+.SS --- - _POSIX_VDISABLE
Always present (probably 0).
Value to set a changeable special control
character to indicate that it is disabled.
-.SH "XOPEN EXTENSIONS"
+.SH XOPEN EXTENSIONS
.BR _XOPEN_CRYPT ,
.BR _XOPEN_LEGACY ,
.BR _XOPEN_REALTIME ,
.BR _XOPEN_REALTIME_THREADS ,
.BR _XOPEN_UNIX .
.\" To be described.
-.SH "SEE ALSO"
+.SH SEE ALSO
.BR sysconf (3),
.BR standards (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.