Files
cpython-source-deps/os_brew/fclose.c
2017-09-04 13:40:25 -05:00

33 lines
521 B
C

/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 2006,2008 Oracle. All rights reserved.
*
* $Id: fclose.c 63573 2008-05-23 21:43:21Z trent.nelson $
*/
#include "db_config.h"
#include "db_int.h"
/*
* fclose --
*
* PUBLIC: #ifndef HAVE_FCLOSE
* PUBLIC: int fclose __P((FILE *));
* PUBLIC: #endif
*/
int
fclose(fp)
FILE *fp;
{
/*
* Release (close) the file.
*
* Returns the updated reference count, which is of no use to us.
*/
(void)IFILE_Release(fp);
return (0);
}