/* The following routines are convenience wrappers around methods of the  */
SQLITE_PRIVATE int sqlite3OsClose(sqlite3_file *)
/* The following routines are convenience wrappers around methods of the  */
SQLITE_PRIVATE int sqlite3OsClose(sqlite3_file *)
{
  int rc = SQLITE_OK;
  if( pId->pMethods ){
    rc = pId->pMethods->xClose(pId);
    pId->pMethods = 0;
  }
  return rc;
}