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

os_config.c

00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 1998-2005
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: os_config.c,v 12.2 2005/06/16 20:23:23 bostic Exp $
00008  */
00009 
00010 #include "db_config.h"
00011 
00012 #ifndef NO_SYSTEM_INCLUDES
00013 #include <sys/types.h>
00014 #endif
00015 
00016 #include "db_int.h"
00017 
00018 /*
00019  * __os_fs_notzero --
00020  *      Return 1 if allocated filesystem blocks are not zeroed.
00021  *
00022  * PUBLIC: int __os_fs_notzero __P((void));
00023  */
00024 int
00025 __os_fs_notzero()
00026 {
00027         /* Most filesystems zero out implicitly created pages. */
00028         return (0);
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 (1);
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