Tue Jul 9 09:37:55 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
[glibc.git] / sysdeps / unix / sysv / linux / posix_opt.h
blobc1ff431fc98fc8b06fe43998fe77920a5b1a4966
1 /* Define POSIX options for Linux.
2 Copyright (C) 1996 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
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
17 not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
20 #ifndef _POSIX_OPT_H
21 #define _POSIX_OPT_H 1
23 /* Job control is supported. */
24 #define _POSIX_JOB_CONTROL 1
26 /* Processes have a saved set-user-ID and a saved set-group-ID. */
27 #define _POSIX_SAVED_IDS 1
29 /* Priority scheduling is supported. */
30 #define _POSIX_PRIORITY_SCHEDULING 1
32 /* Synchronizing file data is supported. */
33 #define _POSIX_SYNCHRONIZED_IO 1
35 /* The fsync function is present. */
36 #define _POSIX_FSYNC 1
38 /* Mapping of files to memory is supported. */
39 #define _POSIX_MAPPED_FILES 1
41 /* Locking of all memory is supported. */
42 #define _POSIX_MEMLOCK 1
44 /* Locking of ranges of memory is supported. */
45 #define _POSIX_MEMLOCK_RANGE 1
47 /* Setting of memory protections is supported. */
48 #define _POSIX_MEMORY_PROTECTION 1
50 /* Implementation supports `poll' function. */
51 #define _POSIX_POLL 1
53 /* Implementation supports `select' and `pselect' functions. */
54 #define _POSIX_SELECT 1
56 /* Only root can change owner of file. */
57 #define _POSIX_CHOWN_RESTRICTED 1
59 /* `c_cc' member of 'struct termios' structure can be disabled by
60 using the value _POSIX_VDISABLE. */
61 #define _POSIX_VDISABLE '\0'
63 #endif /* posix_opt.h */