Update.
[platform/upstream/glibc.git] / sysdeps / unix / sysv / linux / bits / posix_opt.h
1 /* Define POSIX options for Linux.
2    Copyright (C) 1996, 1997 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 Library General Public License as
7    published by the Free Software Foundation; either version 2 of the
8    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    Library General Public License for more details.
14
15    You should have received a copy of the GNU Library General Public
16    License along with the GNU C Library; see the file COPYING.LIB.  If not,
17    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18    Boston, MA 02111-1307, USA.  */
19
20 /*
21  * Never include this file directly; use <unistd.h> instead.
22  */
23
24 #ifndef _BITS_POSIX_OPT_H
25 #define _BITS_POSIX_OPT_H       1
26
27 /* Job control is supported.  */
28 #define _POSIX_JOB_CONTROL      1
29
30 /* Processes have a saved set-user-ID and a saved set-group-ID.  */
31 #define _POSIX_SAVED_IDS        1
32
33 /* Priority scheduling is supported.  */
34 #define _POSIX_PRIORITY_SCHEDULING      1
35
36 /* Synchronizing file data is supported.  */
37 #define _POSIX_SYNCHRONIZED_IO  1
38
39 /* The fsync function is present.  */
40 #define _POSIX_FSYNC    1
41
42 /* Mapping of files to memory is supported.  */
43 #define _POSIX_MAPPED_FILES     1
44
45 /* Locking of all memory is supported.  */
46 #define _POSIX_MEMLOCK  1
47
48 /* Locking of ranges of memory is supported.  */
49 #define _POSIX_MEMLOCK_RANGE    1
50
51 /* Setting of memory protections is supported.  */
52 #define _POSIX_MEMORY_PROTECTION        1
53
54 /* Implementation supports `poll' function.  */
55 #define _POSIX_POLL     1
56
57 /* Implementation supports `select' and `pselect' functions.  */
58 #define _POSIX_SELECT   1
59
60 /* Only root can change owner of file.  */
61 #define _POSIX_CHOWN_RESTRICTED 1
62
63 /* `c_cc' member of 'struct termios' structure can be disabled by
64    using the value _POSIX_VDISABLE.  */
65 #define _POSIX_VDISABLE '\0'
66
67 /* Filenames are not silently truncated.  */
68 #define _POSIX_NO_TRUNC 1
69
70 /* X/Open realtime support is available.  */
71 #define _XOPEN_REALTIME 1
72
73 /* XPG4.2 shared memory is supported.  */
74 #define _XOPEN_SHM      1
75
76 /* Real-time signals are supported.  */
77 #define _POSIX_REALTIME_SIGNALS 1
78
79 #endif /* bits/posix_opt.h */