library/src/filesystem/BP-Filesystem.cc
// closes the file/stream/fifo
closes the file/stream/fifo
closes the file / stream / fifo
int BP_FClose(FILE * file)
{
	if(!file)
		return ERR_FAILURE;
	int err = fclose(file);
	if(err == EOF)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
int BP_FClose ( FILE * file ) { if ( ! file ) return ERR_FAILURE ; int err = fclose ( file ) ; if ( err == EOF ) return ERR_FAILURE ; return ERR_SUCCESS ; }
closes the file/stream/fifo
closes the file / stream / fifo
// ensure we have a valid file pointer // attempt to close the file // return indicating success