#include <db.h> int DB_SEQUENCE->get_cachesize(DB_SEQUENCE *seq, u_int32_t *sizep);
         The DB_SEQUENCE->get_cachesize() method returns the current cache
         size.
    
         The DB_SEQUENCE->get_cachesize() method may be called at any time
         during the life of the application.
    
         The DB_SEQUENCE->get_cachesize() 
            
                  method returns a non-zero error value on failure and 0 on success.