#include <db.h> int DB_ENV->log_cursor(DB_ENV *dbenv, DB_LOGC **cursorp, u_int32_t flags);
         The DB_ENV->log_cursor() method returns a created log cursor.
    
         The DB_ENV->log_cursor() 
            
                  method returns a non-zero error value on failure and 0 on success.
            
            
        
    
The cursorp parameter references memory into which a pointer to the created log cursor is copied.
                         The DB_ENV->log_cursor() 
            
                 method may fail and return one of the following non-zero errors: