~ubuntu-branches/ubuntu/edgy/rpm/edgy

« back to all changes in this revision

Viewing changes to db/docs/api_c/memp_fclose.html

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2002-01-22 20:56:57 UTC
  • Revision ID: james.westby@ubuntu.com-20020122205657-l74j50mr9z8ofcl5
Tags: upstream-4.0.3
ImportĀ upstreamĀ versionĀ 4.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--$Id: memp_fclose.so,v 10.24 2001/04/18 13:44:48 bostic Exp $-->
 
2
<!--Copyright 1997-2001 by Sleepycat Software, Inc.-->
 
3
<!--All rights reserved.-->
 
4
<html>
 
5
<head>
 
6
<title>Berkeley DB: memp_fclose</title>
 
7
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
 
8
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
 
9
</head>
 
10
<body bgcolor=white>
 
11
<a name="2"><!--meow--></a>
 
12
<table width="100%"><tr valign=top>
 
13
<td>
 
14
<h1>memp_fclose</h1>
 
15
</td>
 
16
<td align=right>
 
17
<a href="../api_c/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
 
18
</td></tr></table>
 
19
<hr size=1 noshade>
 
20
<tt>
 
21
<h3><pre>
 
22
#include &lt;db.h&gt;
 
23
<p>
 
24
int
 
25
memp_fclose(DB_MPOOLFILE *mpf);
 
26
</pre></h3>
 
27
<h1>Description</h1>
 
28
<p>The memp_fclose function closes the source file indicated by the
 
29
DB_MPOOLFILE structure.  Calling memp_fclose does not imply a call
 
30
to <a href="../api_c/memp_fsync.html">memp_fsync</a>; that is, no pages are written to the source file
 
31
as as a result of calling memp_fclose.
 
32
<p>In addition, if the DB_MPOOLFILE was temporary, any underlying
 
33
files created for this DB_MPOOLFILE will be removed.
 
34
<p>After memp_fclose has been called, regardless of its return, the
 
35
DB_MPOOLFILE handle may not be accessed again.
 
36
<p>The memp_fclose function returns a non-zero error value on failure and 0 on success.
 
37
<h1>Errors</h1>
 
38
<p>The memp_fclose function may fail and return a non-zero error for errors specified for other Berkeley DB and C library or system functions.
 
39
If a catastrophic error has occurred, the memp_fclose function may fail and return
 
40
<a href="../ref/program/errorret.html#DB_RUNRECOVERY">DB_RUNRECOVERY</a>, in which case all subsequent Berkeley DB calls will fail
 
41
in the same way.
 
42
<h1>See Also</h1>
 
43
<a href="../api_c/env_set_cachesize.html">DB_ENV-&gt;set_cachesize</a>,
 
44
<a href="../api_c/env_set_mp_mmapsize.html">DB_ENV-&gt;set_mp_mmapsize</a>,
 
45
<a href="../api_c/memp_fclose.html">memp_fclose</a>,
 
46
<a href="../api_c/memp_fget.html">memp_fget</a>,
 
47
<a href="../api_c/memp_fopen.html">memp_fopen</a>,
 
48
<a href="../api_c/memp_fput.html">memp_fput</a>,
 
49
<a href="../api_c/memp_fset.html">memp_fset</a>,
 
50
<a href="../api_c/memp_fsync.html">memp_fsync</a>,
 
51
<a href="../api_c/memp_register.html">memp_register</a>,
 
52
<a href="../api_c/memp_stat.html">memp_stat</a>,
 
53
<a href="../api_c/memp_sync.html">memp_sync</a>,
 
54
and
 
55
<a href="../api_c/memp_trickle.html">memp_trickle</a>.
 
56
</tt>
 
57
<table width="100%"><tr><td><br></td><td align=right>
 
58
<a href="../api_c/c_index.html"><img src="../images/api.gif" alt="API"></a><a href="../reftoc.html"><img src="../images/ref.gif" alt="Ref"></a>
 
59
</td></tr></table>
 
60
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
 
61
</body>
 
62
</html>