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