store Subroutine

Purpose

Places data under a key.

Library

DBM Library (libdbm.a)

Syntax

#include <dbm.h>

int store ( key,  content)
datum key, content;

Description

The store subroutine places data under a key.

Parameters

Item Description
key Specifies the input key.
content Specifies the value associated with the key to store.

Return Values

Upon successful completion, this subroutine returns a value of 0. If unsuccessful, the subroutine returns a negative value.