### DB_SEQUENCE->close |

`

###

    #include <db.h>

    int
    DB_SEQUENCE->close(DB_SEQUENCE *seq, u_int32_t flags);

### Description: DB_SEQUENCE->close

The DB_SEQUENCE->close method closes the sequence handle. Any unused cached values are lost.

The DB_SEQUENCE handle may not be accessed again after DB_SEQUENCE->close is called, regardless of its return.

The DB_SEQUENCE->close method returns a non-zero error value on failure and 0 on success.

### Parameters

flags
  The flags parameter is currently unused, and must be set to 0.

### Errors

The DB_SEQUENCE->close method may fail and return one of the following non-zero errors:

EINVAL
  An invalid flag value or parameter was specified.

### Class

DB_SEQUENCE

### See Also

Sequences and Related Methods`

Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.