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.
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.
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.
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
21 * Never include this file directly; use <unistd.h> instead.
24 #ifndef _BITS_POSIX_OPT_H
25 #define _BITS_POSIX_OPT_H 1
27 #include <bits/os-unistd.h>
29 /* Job control is supported. */
30 #define _POSIX_JOB_CONTROL 1
32 /* Processes have a saved set-user-ID and a saved set-group-ID. */
33 #define _POSIX_SAVED_IDS 1
35 /* Priority scheduling is supported. */
36 #define _POSIX_PRIORITY_SCHEDULING 1
38 /* Synchronizing file data is supported. */
39 #define _POSIX_SYNCHRONIZED_IO 1
41 /* The fsync function is present. */
42 #define _POSIX_FSYNC 1
44 /* Mapping of files to memory is supported. */
45 #define _POSIX_MAPPED_FILES 1
47 /* Locking of all memory is supported. */
48 #define _POSIX_MEMLOCK 1
50 /* Locking of ranges of memory is supported. */
51 #define _POSIX_MEMLOCK_RANGE 1
53 /* Setting of memory protections is supported. */
54 #define _POSIX_MEMORY_PROTECTION 1
56 /* Implementation supports `poll' function. */
59 /* Implementation supports `select' and `pselect' functions. */
60 #define _POSIX_SELECT 1
62 /* XPG4.2 shared memory is supported. */
65 /* X/Open realtime support is available. */
66 #define _XOPEN_REALTIME 1
68 /* Only root can change owner of file. */
69 #define _POSIX_CHOWN_RESTRICTED 1
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')
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
80 /* POSIX timers are available. */
81 #define _POSIX_TIMERS 1
83 /* GNU libc provides regular expression handling. */
84 #define _POSIX_REGEXP 1
86 /* We have a POSIX shell. */
87 #define _POSIX_SHELL 1
89 /* The `spawn' function family is supported. */
90 #define _POSIX_SPAWN 200912L
92 #endif /* bits/posix_opt.h */