Daylight v4.9
Release Date: 1 February 2008

Name

dt_thor_tdtlocking - determine if record locking is enforced for a database

Generic Prototype

dt_thor_tdtlocking(dt_Handle) => dt_Boolean

C Prototype

#include "dt_thor.h"

dt_Boolean dt_thor_tdtlocking(dt_Handle database)

FORTRAN Prototype

include 'dt_f_thor.inc'

integer*4 dt_f_thor_tdtlocking(database)

integer*4 database

Description

Returns TRUE if the database is opened with "write" or "executive" permission and record locking is enforced for the database. Returns FALSE if the database is opened with "read" permission, or if record locking is not enforced, or if 'database' is not a database object.

See dt_thor_settdtlocking(3) for an explanation of record locking.

Related Topics

dt_thor_settdtlocking(3) dt_thor_tdtget(3) dt_thor_tdtput(3) dt_open(3)