Miscellaneous Functions

VOID lock(INDI|FAM);

lock a person or family in memory

VOID unlock(INDI|FAM);

unlock a person or family from memory

STRING database(void);

return name of current database

STRING version(void);

return version of LifeLines program

VOID system(STRING);

execute string as a UNIX shell command

Lock and unlock are used to lock a person or family into RAM memory, and to unlock a person or family from RAM memory, respectively.

Database returns the name of the current database, useful in titling reports. Version returns the version of the running LifeLines program, eg, 3.0.2.

System executes its string argument as a UNIX shell command by calling the UNIX system system call.