Rev 3 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | pj | 1 | /* Define POSIX options for Linux. |
2 | Copyright (C) 1996, 1997, 1998, 1999 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 | /* MODIFIED (from GNU libc 2.1.2) */ |
||
21 | |||
22 | #ifndef _POSIX_OPT_H |
||
23 | #define _POSIX_OPT_H 1 |
||
24 | |||
25 | /* Job control is supported. */ |
||
26 | #define _POSIX_JOB_CONTROL 0 |
||
27 | |||
28 | /* Processes have a saved set-user-ID and a saved set-group-ID. */ |
||
29 | #define _POSIX_SAVED_IDS 0 |
||
30 | |||
31 | /* Priority scheduling is supported. */ |
||
32 | #define _POSIX_PRIORITY_SCHEDULING 0 |
||
33 | |||
34 | /* Synchronizing file data is supported. */ |
||
35 | #define _POSIX_SYNCHRONIZED_IO 0 |
||
36 | |||
37 | /* The fsync function is present. */ |
||
38 | #define _POSIX_FSYNC 0 |
||
39 | |||
40 | /* Mapping of files to memory is supported. */ |
||
41 | #define _POSIX_MAPPED_FILES 0 |
||
42 | |||
43 | /* Locking of all memory is supported. */ |
||
44 | #define _POSIX_MEMLOCK 0 |
||
45 | |||
46 | /* Locking of ranges of memory is supported. */ |
||
47 | #define _POSIX_MEMLOCK_RANGE 0 |
||
48 | |||
49 | /* Setting of memory protections is supported. */ |
||
50 | #define _POSIX_MEMORY_PROTECTION 0 |
||
51 | |||
52 | /* Implementation supports `poll' function. */ |
||
53 | #define _POSIX_POLL 0 |
||
54 | |||
55 | /* Implementation supports `select' and `pselect' functions. */ |
||
56 | #define _POSIX_SELECT 0 |
||
57 | |||
58 | /* Only root can change owner of file. */ |
||
59 | #define _POSIX_CHOWN_RESTRICTED 0 |
||
60 | |||
61 | /* `c_cc' member of 'struct termios' structure can be disabled by |
||
62 | using the value _POSIX_VDISABLE. */ |
||
63 | #define _POSIX_VDISABLE '\0' |
||
64 | |||
65 | /* Filenames are not silently truncated. */ |
||
66 | #define _POSIX_NO_TRUNC 1 |
||
67 | |||
68 | /* X/Open realtime support is available. */ |
||
69 | #define _XOPEN_REALTIME 0 |
||
70 | |||
71 | /* X/Open realtime thread support is available. */ |
||
72 | #define _XOPEN_REALTIME_THREADS 0 |
||
73 | |||
74 | /* XPG4.2 shared memory is supported. */ |
||
75 | #define _XOPEN_SHM 0 |
||
76 | |||
77 | /* Tell we have POSIX threads. */ |
||
78 | #define _POSIX_THREADS 0 |
||
79 | |||
80 | /* We have the reentrant functions described in POSIX. */ |
||
81 | #define _POSIX_REENTRANT_FUNCTIONS 0 |
||
82 | #define _POSIX_THREAD_SAFE_FUNCTIONS 0 |
||
83 | |||
84 | /* We provide priority scheduling for threads. */ |
||
85 | #define _POSIX_THREAD_PRIORITY_SCHEDULING 0 |
||
86 | |||
87 | /* We support user-defined stack sizes. */ |
||
88 | #define _POSIX_THREAD_ATTR_STACKSIZE 0 |
||
89 | |||
90 | /* We support user-defined stacks. */ |
||
91 | #define _POSIX_THREAD_ATTR_STACKADDR 0 |
||
92 | |||
93 | /* We support POSIX.1b semaphores, but only the non-shared form for now. */ |
||
94 | /*#define _POSIX_SEMAPHORES 1 XXX We are not quite there now. */ |
||
95 | |||
96 | /* Real-time signals are supported. */ |
||
97 | #define _POSIX_REALTIME_SIGNALS 0 |
||
98 | |||
99 | /* We support asynchronous I/O. */ |
||
100 | #define _POSIX_ASYNCHRONOUS_IO 0 |
||
101 | /* Alternative name for Unix98. */ |
||
102 | #define _LFS_ASYNCHRONOUS_IO 0 |
||
103 | |||
104 | /* The LFS support in asynchronous I/O is also available. */ |
||
105 | #define _LFS64_ASYNCHRONOUS_IO 0 |
||
106 | |||
107 | /* The rest of the LFS is also available. */ |
||
108 | #define _LFS_LARGEFILE 0 |
||
109 | #define _LFS64_LARGEFILE 0 |
||
110 | #define _LFS64_STDIO 0 |
||
111 | |||
112 | #endif /* posix_opt.h */ |