nextkey Subroutine

Purpose

Returns the next key in a database.

Library

DBM Library (libdbm.a)

Syntax

#include <dbm.h>

datum nextkey ( key)
datum key;

Description

The nextkey subroutine returns the next key in a database.

Parameters

Item Description
key Specifies the input key. This value has no effect on the return value, but must be present.

Return Values

Returns a datum structure containing the next key-value pair.