Import BSDDB 4.7.25 (as of svn r89086)
This commit is contained in:
55
os_s60/os_config.c
Normal file
55
os_s60/os_config.c
Normal file
@@ -0,0 +1,55 @@
|
||||
/*-
|
||||
* See the file LICENSE for redistribution information.
|
||||
*
|
||||
* Copyright (c) 1998,2008 Oracle. All rights reserved.
|
||||
*
|
||||
* $Id: os_config.c 63573 2008-05-23 21:43:21Z trent.nelson $
|
||||
*/
|
||||
|
||||
#include "db_config.h"
|
||||
|
||||
#include "db_int.h"
|
||||
|
||||
/*
|
||||
* __os_fs_notzero --
|
||||
* Return 1 if allocated filesystem blocks are not zeroed.
|
||||
*/
|
||||
int
|
||||
__os_fs_notzero()
|
||||
{
|
||||
/*
|
||||
* The S60 filesystem does not always zero-fill newly allocated
|
||||
* filesystem blocks.
|
||||
*/
|
||||
return (1);
|
||||
}
|
||||
|
||||
/*
|
||||
* __os_support_direct_io --
|
||||
* Return 1 if we support direct I/O.
|
||||
*/
|
||||
int
|
||||
__os_support_direct_io()
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* __os_support_db_register --
|
||||
* Return 1 if the system supports DB_REGISTER.
|
||||
*/
|
||||
int
|
||||
__os_support_db_register()
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
* __os_support_replication --
|
||||
* Return 1 if the system supports replication.
|
||||
*/
|
||||
int
|
||||
__os_support_replication()
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
Reference in New Issue
Block a user