| |
include("http://www.linux-faqs.com/body.left.inc") ?>

|
|
Name
posixoptions — optional parts of the POSIX
standard
DESCRIPTION
The POSIX standard (the information below is from
POSIX.1-2001) describes a set of behaviours and interfaces
for a compliant system. However, many interfaces are optional
and there are feature test macros to test the availability of
interfaces at compile time, and functions sysconf(3), fpathconf(3), pathconf(3), confstr(3) to do this at
run time. From shell scripts one can use getconf(1). For more detail,
see sysconf(3).
We give the name of the POSIX abbreviation, the option,
the name of the sysconf()
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.
ADV - _POSIX_ADVISORY_INFO - _SC_ADVISORY_INFO
The advisory functions
are present.
AIO - _POSIX_ASYNCHRONOUS_IO - _SC_ASYNCHRONOUS_IO
The header <aio.h> is present.
The functions
are present.
BAR - _POSIX_BARRIERS - _SC_BARRIERS
This option implies the _POSIX_THREADS and
_POSIX_THREAD_SAFE_FUNCTIONS options. The functions
are present.
--- - 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 non-root can only set the group of a file to one
of the groups it belongs to. This affects the functions
chown(), fchown().
CS - _POSIX_CLOCK_SELECTION - _SC_CLOCK_SELECTION
This option implies the _POSIX_TIMERS option. The
functions
are present. If CLOCK_REALTIME is changed by the
function clock_settime(),
then this affects all timers set for an absolute time.
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 _POSIX_TIMERS option. The function
clock_getcpuclockid() is
present.
--- - _POSIX_FILE_LOCKING - _SC_FILE_LOCKING
This option has been deleted. Not in final XPG6.
FSC - _POSIX_FSYNC - _SC_FSYNC
The function fsync() is
present.
IP6 - _POSIX_IPV6 - _SC_IPV6
Internet Protocol Version 6 is supported.
--- - _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 functions
MF - _POSIX_MAPPED_FILES - _SC_MAPPED_FILES
Shared memory is supported. The include file <sys/mman.h> is
present. The functions mmap(), msync(), munmap() are present.
ML - _POSIX_MEMLOCK - _SC_MEMLOCK
Shared memory can be locked into core. The functions
mlockall(), munlockall() are present.
MR/MLR - _POSIX_MEMLOCK_RANGE - _SC_MEMLOCK_RANGE
More precisely, ranges can be locked into core. The
functions mlock(),
munlock() are present.
MPR - _POSIX_MEMORY_PROTECTION -
_SC_MEMORY_PROTECTION
The function mprotect() is
present.
MSG - _POSIX_MESSAGE_PASSING - _SC_MESSAGE_PASSING
The include file <mqueue.h> is
present. The functions
are present.
MON - _POSIX_MONOTONIC_CLOCK - _SC_MONOTONIC_CLOCK
--- - _POSIX_MULTI_PROCESS - _SC_MULTI_PROCESS
This option has been deleted. Not in final XPG6.
--- - _POSIX_NO_TRUNC
If this option is in effect (as it always is under
POSIX.1-2001) then pathname components longer than NAME_MAX
are not truncated, but give an error. This property may be
dependent on the path prefix of the component.
PIO - _POSIX_PRIORITIZED_IO - _SC_PRIORITIZED_IO
This option says that one can specify priorities for
asynchronous I/O. This affects the functions
PS - _POSIX_PRIORITY_SCHEDULING -
_SC_PRIORITY_SCHEDULING
The include file <sched.h> is present.
The functions
are present. If also _POSIX_SPAWN is in effect, then the
functions
RS - _POSIX_RAW_SOCKETS
Raw sockets are supported. Affected functions are
getsockopt(), setsockopt().
--- - _POSIX_READER_WRITER_LOCKS -
_SC_READER_WRITER_LOCKS
This option implies the _POSIX_THREADS option.
Conversely, under POSIX.1-2001 the _POSIX_THREADS option
implies this option.
RTS - _POSIX_REALTIME_SIGNALS -
_SC_REALTIME_SIGNALS
Realtime signals are supported. The functions
are present.
--- - _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 functions
are present.
--- - _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
SEM - _POSIX_SEMAPHORES - _SC_SEMAPHORES
The include file <semaphore.h> is
present. The functions
are present.
SHM - _POSIX_SHARED_MEMORY_OBJECTS -
_SC_SHARED_MEMORY_OBJECTS
The functions
are present.
--- - _POSIX_SHELL - _SC_SHELL
If this option is in effect (as it always is under
POSIX.1-2001), the function system() is present.
SPN - _POSIX_SPAWN - _SC_SPAWN
This option describes support for process creation in a
context where it is difficult or impossible to use
fork(), e.g. because no MMU
is present. If _POSIX_SPAWN is in effect, then the include
file <spawn.h> and the
functions
are present. If also _POSIX_PRIORITY_SCHEDULING is in
effect, then the functions
SPI - _POSIX_SPIN_LOCKS - _SC_SPIN_LOCKS
This option implies the _POSIX_THREADS and
_POSIX_THREAD_SAFE_FUNCTIONS options. The functions
are present.
SS - _POSIX_SPORADIC_SERVER - _SC_SPORADIC_SERVER
The scheduling policy SCHED_SPORADIC is supported. This
option implies the _POSIX_PRIORITY_SCHEDULING option.
Affected functions are
SIO - _POSIX_SYNCHRONIZED_IO - _SC_SYNCHRONIZED_IO
Affected functions are open(), msync(), fsync(), fdatasync().
TSA - _POSIX_THREAD_ATTR_STACKADDR -
_SC_THREAD_ATTR_STACKADDR
Affected functions are
TSS - _POSIX_THREAD_ATTR_STACKSIZE -
_SC_THREAD_ATTR_STACKSIZE
Affected functions are
TCT - _POSIX_THREAD_CPUTIME - _SC_THREAD_CPUTIME
The clockID CLOCK_THREAD_CPUTIME_ID is supported. This
option implies the _POSIX_TIMERS option. Affected functions
are
TPI - _POSIX_THREAD_PRIO_INHERIT -
_SC_THREAD_PRIO_INHERIT
Affected functions are
TPP - _POSIX_THREAD_PRIO_PROTECT -
_SC_THREAD_PRIO_PROTECT
Affected functions are
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
TSH - _POSIX_THREAD_PROCESS_SHARED -
_SC_THREAD_PROCESS_SHARED
Affected functions are
TSF - _POSIX_THREAD_SAFE_FUNCTIONS -
_SC_THREAD_SAFE_FUNCTIONS
Affected functions are
TSP - _POSIX_THREAD_SPORADIC_SERVER -
_SC_THREAD_SPORADIC_SERVER
This option implies the
_POSIX_THREAD_PRIORITY_SCHEDULING option. Affected
functions are
THR - _POSIX_THREADS - _SC_THREADS
Basic support for POSIX threads is available. The
functions
pthread_atfork(),
pthread_attr_destroy(),
pthread_attr_getdetachstate(),
pthread_attr_getschedparam(),
pthread_attr_init(),
pthread_attr_setdetachstate(),
pthread_attr_setschedparam(),
pthread_cancel(),
pthread_cleanup_push(),
pthread_cleanup_pop(),
pthread_cond_broadcast(),
pthread_cond_destroy(),
pthread_cond_init(),
pthread_cond_signal(),
pthread_cond_timedwait(),
pthread_cond_wait(),
pthread_condattr_destroy(),
pthread_condattr_init(),
pthread_create(),
pthread_detach(),
pthread_equal(),
pthread_exit(),
pthread_getspecific(),
pthread_join(),
pthread_key_create(),
pthread_key_delete(),
pthread_mutex_destroy(),
pthread_mutex_init(),
pthread_mutex_lock(),
pthread_mutex_trylock(),
pthread_mutex_unlock(),
pthread_mutexattr_destroy(),
pthread_mutexattr_init(),
pthread_once(),
pthread_rwlock_destroy(),
pthread_rwlock_init(),
pthread_rwlock_rdlock(),
pthread_rwlock_tryrdlock(),
pthread_rwlock_trywrlock(),
pthread_rwlock_unlock(),
pthread_rwlock_wrlock(),
pthread_rwlockattr_destroy(),
pthread_rwlockattr_init(),
pthread_self(),
pthread_setcancelstate(),
pthread_setcanceltype(),
pthread_setspecific(),
pthread_testcancel()
are present.
TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS
The functions
are present.
TMR - _POSIX_TIMERS - _SC_TIMERS
The functions
are present.
TRC - _POSIX_TRACE - _SC_TRACE
POSIX tracing is available. The functions
are present.
TEF - _POSIX_TRACE_EVENT_FILTER -
_SC_TRACE_EVENT_FILTER
This option implies the _POSIX_TRACE option. The
functions
are present.
TRI - _POSIX_TRACE_INHERIT - _SC_TRACE_INHERIT
Tracing children of the traced process is supported.
This option implies the _POSIX_TRACE option. The
functions
are present.
TRL - _POSIX_TRACE_LOG - _SC_TRACE_LOG
This option implies the _POSIX_TRACE option. The
functions
are present.
TYM - _POSIX_TYPED_MEMORY_OBJECTS -
_SC_TYPED_MEMORY_OBJECT
The functions
are present.
--- - _POSIX_VDISABLE
Always present (probably 0). Value to set a changeable
special control character to indicate that it is
disabled.
XOPEN EXTENSIONS
_XOPEN_CRYPT, _XOPEN_LEGACY, _XOPEN_REALTIME, _XOPEN_REALTIME_THREADS, _XOPEN_UNIX.
SEE ALSO
sysconf(3)
Copyright (c) 2003 Andries Brouwer (aeb@cwi.nl)
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
the License, or (at your option) any later version.
The GNU General Public License's references to "object code"
and "executables" are to be interpreted as the output of any
document formatting or typesetting system, including
intermediate and printed output.
This manual 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 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.
|
|
|
include("http://www.linux-faqs.com/body.right.inc") ?>

|
|