resetting manifest requested domain to floor
[platform/upstream/db4.git] / os_brew / os_config.c
1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 1998-2009 Oracle.  All rights reserved.
5  *
6  * $Id$
7  */
8
9 #include "db_config.h"
10
11 #include "db_int.h"
12
13 /*
14  * __os_fs_notzero --
15  *      Return 1 if allocated filesystem blocks are not zeroed.
16  */
17 int
18 __os_fs_notzero()
19 {
20         /*
21          * XXX
22          * We don't know if the BREW filesystem zero-fills newly allocated
23          * filesystem blocks.  For now, be conservative and zero out blocks
24          * in Berkeley DB.
25          *
26          * This should be tested.
27          */
28         return (1);
29 }
30
31 /*
32  * __os_support_direct_io --
33  *      Return 1 if we support direct I/O.
34  */
35 int
36 __os_support_direct_io()
37 {
38         return (0);
39 }
40
41 /*
42  * __os_support_db_register --
43  *      Return 1 if the system supports DB_REGISTER.
44  */
45 int
46 __os_support_db_register()
47 {
48         return (0);
49 }
50
51 /*
52  * __os_support_replication --
53  *      Return 1 if the system supports replication.
54  */
55 int
56 __os_support_replication()
57 {
58         return (0);
59 }