#include <db.h>
 
DB->slice_lookup(DB *db, const DBT *key, DB **result, 
                 u_int32_t flags);  
      
         The DB->slice_lookup() method
         returns the subordinate database that contains the records for the
         provided key.
     
         The DB->slice_lookup() method
         must be called on an opened database handle.
     
         The DB->slice_lookup() 
            
                  method returns a non-zero error value on failure and 0 on success.
            
            
        
    
The key parameter is the DBT for the record that you want to look up.
The subordinate database containing the record identified by key is returned in the result parameter.