1/*-
2 * See the file LICENSE for redistribution information.
3 *
4 * Copyright (c) 2006,2008 Oracle.  All rights reserved.
5 *
6 * $Id: fclose.c,v 1.4 2008/01/08 20:58:44 bostic Exp $
7 */
8
9#include "db_config.h"
10
11#include "db_int.h"
12
13/*
14 * fclose --
15 *
16 * PUBLIC: #ifndef HAVE_FCLOSE
17 * PUBLIC: int fclose __P((FILE *));
18 * PUBLIC: #endif
19 */
20int
21fclose(fp)
22	FILE *fp;
23{
24	/*
25	 * Release (close) the file.
26	 *
27	 * Returns the updated reference count, which is of no use to us.
28	 */
29	(void)IFILE_Release(fp);
30
31	return (0);
32}
33