Db::get_re_delim()

#include <db_cxx.h>

int
Db::get_re_delim(int *delimp);

The Db::get_re_delim() method returns the delimiting byte, which is used to mark the end of a record in the backing source file for the Recno access method. This value is set using the Db::set_re_delim() method.

The Db::get_re_delim() method may be called only after the database has been opened.

The Db::get_re_delim() method either returns a non-zero error value or throws an exception that encapsulates a non-zero error value on failure, and returns 0 on success.

Parameters

delimp

The Db::get_re_delim() method returns the delimiting byte in delimp. If this method is called on a handle that has not yet been opened, then the default delimiting byte is returned. See Db::set_re_delim() for details.

Class

Db

See Also

Database and Related Methods, Db::set_re_delim()