initial commit
[glibc.git] / sysdeps / unix / bsd / bsd4.4 / kfreebsd / bits / posix_opt.h
1 /* Define POSIX options for FreeBSD.
2 Copyright (C) 1996-1997, 1999, 2000, 2002 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, write to the Free
17 Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
18 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 #include <bits/os-unistd.h>
28
29 /* Job control is supported. */
30 #define _POSIX_JOB_CONTROL 1
31
32 /* Processes have a saved set-user-ID and a saved set-group-ID. */
33 #define _POSIX_SAVED_IDS 1
34
35 /* Priority scheduling is supported. */
36 #define _POSIX_PRIORITY_SCHEDULING 1
37
38 /* Synchronizing file data is supported. */
39 #define _POSIX_SYNCHRONIZED_IO 1
40
41 /* The fsync function is present. */
42 #define _POSIX_FSYNC 1
43
44 /* Mapping of files to memory is supported. */
45 #define _POSIX_MAPPED_FILES 1
46
47 /* Locking of all memory is supported. */
48 #define _POSIX_MEMLOCK 1
49
50 /* Locking of ranges of memory is supported. */
51 #define _POSIX_MEMLOCK_RANGE 1
52
53 /* Setting of memory protections is supported. */
54 #define _POSIX_MEMORY_PROTECTION 1
55
56 /* Implementation supports `poll' function. */
57 #define _POSIX_POLL 1
58
59 /* Implementation supports `select' and `pselect' functions. */
60 #define _POSIX_SELECT 1
61
62 /* XPG4.2 shared memory is supported. */
63 #define _XOPEN_SHM 1
64
65 /* X/Open realtime support is available. */
66 #define _XOPEN_REALTIME 1
67
68 /* Only root can change owner of file. */
69 #define _POSIX_CHOWN_RESTRICTED 1
70
71 /* `c_cc' member of 'struct termios' structure can be disabled by
72 using the value _POSIX_VDISABLE. */
73 #define _POSIX_VDISABLE ((unsigned char)'\377')
74
75 /* The LFS interface is available, except for the asynchronous I/O. */
76 #define _LFS_LARGEFILE 1
77 #define _LFS64_LARGEFILE 1
78 #define _LFS64_STDIO 1
79
80 /* POSIX timers are available. */
81 #define _POSIX_TIMERS 1
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 200912L
91
92 #endif /* bits/posix_opt.h */