[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 Communications Technical Reference, Volume 1

dbm_delete Subroutine

Purpose

Deletes a key and its associated contents.

Library

C Library (libc.a)

Syntax

#include <ndbm.h>
int dbm_delete (db, key)
DBM *db;
datum key;

Description

The dbm_delete subroutine deletes a key and its associated contents.

Parameters

db Specifies a database.
key Specifies the key to delete.

Return Values

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

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

The delete subroutine.

List of NDBM and DBM Programming References and NDBM Overview in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Glossary | Home | Search ]