Back to index

glibc  2.9
posix_opt.h
Go to the documentation of this file.
00001 /* Define POSIX options for Linux.
00002    Copyright (C) 1996,1997,1999,2000,2002,2003,2008
00003    Free Software Foundation, Inc.
00004    This file is part of the GNU C Library.
00005 
00006    The GNU C Library is free software; you can redistribute it and/or
00007    modify it under the terms of the GNU Lesser General Public
00008    License as published by the Free Software Foundation; either
00009    version 2.1 of the License, or (at your option) any later version.
00010 
00011    The GNU C Library is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014    Lesser General Public License for more details.
00015 
00016    You should have received a copy of the GNU Lesser General Public
00017    License along with the GNU C Library; if not, write to the Free
00018    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00019    02111-1307 USA.  */
00020 
00021 /*
00022  * Never include this file directly; use <unistd.h> instead.
00023  */
00024 
00025 #ifndef       _BITS_POSIX_OPT_H
00026 #define       _BITS_POSIX_OPT_H    1
00027 
00028 /* Job control is supported.  */
00029 #define       _POSIX_JOB_CONTROL   1
00030 
00031 /* Processes have a saved set-user-ID and a saved set-group-ID.  */
00032 #define       _POSIX_SAVED_IDS     1
00033 
00034 /* Priority scheduling is supported.  */
00035 #define       _POSIX_PRIORITY_SCHEDULING  200112L
00036 
00037 /* Synchronizing file data is supported.  */
00038 #define       _POSIX_SYNCHRONIZED_IO      200112L
00039 
00040 /* The fsync function is present.  */
00041 #define       _POSIX_FSYNC  200112L
00042 
00043 /* Mapping of files to memory is supported.  */
00044 #define       _POSIX_MAPPED_FILES  200112L
00045 
00046 /* Locking of all memory is supported.  */
00047 #define       _POSIX_MEMLOCK       200112L
00048 
00049 /* Locking of ranges of memory is supported.  */
00050 #define       _POSIX_MEMLOCK_RANGE 200112L
00051 
00052 /* Setting of memory protections is supported.  */
00053 #define       _POSIX_MEMORY_PROTECTION    200112L
00054 
00055 /* Some filesystems allow all users to change file ownership.  */
00056 #define       _POSIX_CHOWN_RESTRICTED     0
00057 
00058 /* `c_cc' member of 'struct termios' structure can be disabled by
00059    using the value _POSIX_VDISABLE.  */
00060 #define       _POSIX_VDISABLE      '\0'
00061 
00062 /* Filenames are not silently truncated.  */
00063 #define       _POSIX_NO_TRUNC      1
00064 
00065 /* X/Open realtime support is available.  */
00066 #define _XOPEN_REALTIME     1
00067 
00068 /* XPG4.2 shared memory is supported.  */
00069 #define       _XOPEN_SHM    1
00070 
00071 /* Real-time signals are supported.  */
00072 #define _POSIX_REALTIME_SIGNALS    200112L
00073 
00074 /* The LFS interface is available, except for the asynchronous I/O.  */
00075 #define _LFS_LARGEFILE             1
00076 #define _LFS64_LARGEFILE    1
00077 #define _LFS64_STDIO        1
00078 
00079 /* POSIX timers are available.  */
00080 #define _POSIX_TIMERS       200112L
00081 
00082 /* POSIX shared memory objects are implemented.  */
00083 #define _POSIX_SHARED_MEMORY_OBJECTS      200112L
00084 
00085 /* GNU libc provides regular expression handling.  */
00086 #define _POSIX_REGEXP       1
00087 
00088 /* We have a POSIX shell.  */
00089 #define _POSIX_SHELL 1
00090 
00091 /* The `spawn' function family is supported.  */
00092 #define _POSIX_SPAWN 200112L
00093 
00094 /* The monotonic clock might be available.  */
00095 #define _POSIX_MONOTONIC_CLOCK     0
00096 
00097 #endif /* bits/posix_opt.h */