chiark / gitweb /
eglibc (2.11.3-4+deb6u3) squeeze-lts; urgency=medium
[eglibc.git] / sysdeps / unix / sysv / linux / bits / posix_opt.h
1 /* Define POSIX options for Linux.
2    Copyright (C) 1996,1997,1999,2000,2002,2003,2008,2009
3    Free Software Foundation, Inc.
4    This file is part of the GNU C Library.
5
6    The GNU C Library is free software; you can redistribute it and/or
7    modify it under the terms of the GNU Lesser General Public
8    License as published by the Free Software Foundation; either
9    version 2.1 of the License, or (at your option) any later version.
10
11    The GNU C Library is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14    Lesser General Public License for more details.
15
16    You should have received a copy of the GNU Lesser General Public
17    License along with the GNU C Library; if not, write to the Free
18    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
19    02111-1307 USA.  */
20
21 /*
22  * Never include this file directly; use <unistd.h> instead.
23  */
24
25 #ifndef _BITS_POSIX_OPT_H
26 #define _BITS_POSIX_OPT_H       1
27
28 /* Job control is supported.  */
29 #define _POSIX_JOB_CONTROL      1
30
31 /* Processes have a saved set-user-ID and a saved set-group-ID.  */
32 #define _POSIX_SAVED_IDS        1
33
34 /* Priority scheduling is supported.  */
35 #define _POSIX_PRIORITY_SCHEDULING      200809L
36
37 /* Synchronizing file data is supported.  */
38 #define _POSIX_SYNCHRONIZED_IO  200809L
39
40 /* The fsync function is present.  */
41 #define _POSIX_FSYNC    200809L
42
43 /* Mapping of files to memory is supported.  */
44 #define _POSIX_MAPPED_FILES     200809L
45
46 /* Locking of all memory is supported.  */
47 #define _POSIX_MEMLOCK  200809L
48
49 /* Locking of ranges of memory is supported.  */
50 #define _POSIX_MEMLOCK_RANGE    200809L
51
52 /* Setting of memory protections is supported.  */
53 #define _POSIX_MEMORY_PROTECTION        200809L
54
55 /* Some filesystems allow all users to change file ownership.  */
56 #define _POSIX_CHOWN_RESTRICTED 0
57
58 /* `c_cc' member of 'struct termios' structure can be disabled by
59    using the value _POSIX_VDISABLE.  */
60 #define _POSIX_VDISABLE '\0'
61
62 /* Filenames are not silently truncated.  */
63 #define _POSIX_NO_TRUNC 1
64
65 /* X/Open realtime support is available.  */
66 #define _XOPEN_REALTIME 1
67
68 /* XPG4.2 shared memory is supported.  */
69 #define _XOPEN_SHM      1
70
71 /* Real-time signals are supported.  */
72 #define _POSIX_REALTIME_SIGNALS 200809L
73
74 /* The LFS interface is available, except for the asynchronous I/O.  */
75 #define _LFS_LARGEFILE          1
76 #define _LFS64_LARGEFILE        1
77 #define _LFS64_STDIO            1
78
79 /* POSIX timers are available.  */
80 #define _POSIX_TIMERS   200809L
81
82 /* POSIX shared memory objects are implemented.  */
83 #define _POSIX_SHARED_MEMORY_OBJECTS    200809L
84
85 /* GNU libc provides regular expression handling.  */
86 #define _POSIX_REGEXP   1
87
88 /* We have a POSIX shell.  */
89 #define _POSIX_SHELL    1
90
91 /* The `spawn' function family is supported.  */
92 #define _POSIX_SPAWN    200809L
93
94 /* The monotonic clock might be available.  */
95 #define _POSIX_MONOTONIC_CLOCK  0
96
97 #endif /* bits/posix_opt.h */