Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

os_vx_config.c

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 1999-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: os_vx_config.c,v 12.2 2005/07/19 18:51:13 sue Exp $
00008  */
00009 
00010 #include "db_config.h"
00011 
00012 #include "db_int.h"
00013 
00014 /*
00015  * __os_fs_notzero --
00016  *      Return 1 if allocated filesystem blocks are not zeroed.
00017  *
00018  * PUBLIC: int __os_fs_notzero __P((void));
00019  */
00020 int
00021 __os_fs_notzero()
00022 {
00023         /*
00024          * Some VxWorks FS drivers do not zero-fill pages that were never
00025          * explicitly written to the file, they give you random garbage,
00026          * and that breaks Berkeley DB.
00027          */
00028         return (1);
00029 }
00030 
00031 /*
00032  * __os_support_db_register --
00033  *      Return 1 if the system supports DB_REGISTER.
00034  *
00035  * PUBLIC: int __os_support_db_register __P((void));
00036  */
00037 int
00038 __os_support_db_register()
00039 {
00040         return (0);
00041 }
00042 
00043 /*
00044  * __os_support_replication --
00045  *      Return 1 if the system supports replication.
00046  *
00047  * PUBLIC: int __os_support_replication __P((void));
00048  */
00049 int
00050 __os_support_replication()
00051 {
00052         return (1);
00053 }

Generated on Sun Dec 25 12:14:42 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2