anchor.diff:      Flags = process_flags(Opts),
       Cmd = <<Db:32/signed-native, Flags:32/native>>,
       <<Rc:32/signed-native>> = erlang:port_control(get_port(), ?CMD_CLOSE_DB, Cmd),
  -    case decode_rc(Rc) of
  -        ok ->
  -            receive 
  -                ok ->
  -                    ok;
  -                {error, Reason} ->
  -                    {error, Reason}
  -            end;
  -        Error ->
  -            {error, Error}
  -    end.
  -
  +    recv_ok(Rc).
   
   %%--------------------------------------------------------------------
   %% @doc
  
positive.code: %%
  %% @end
  %%--------------------------------------------------------------------
  -spec stat(Opts :: db_flags()) ->
      {ok, [{atom(), number()}]} | db_error().
  stat(Db) ->
      stat(Db, []).
  
negative.code: 
  truncate(Db) ->
      Cmd = <<Db:32/signed-native>>,
      <<Rc:32/signed-native>> = erlang:port_control(get_port(), ?CMD_TRUNCATE, Cmd),
      recv_ok(Rc).
  
  %%--------------------------------------------------------------------
  %% @doc
  