[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1


dbm_fetch Subroutine

Purpose

Accesses data stored under a key.

Library

C Library (libc.a)

Syntax

#include <ndbm.h>


datum dbm_fetch ( db, key)

DBM *db;

datum key;

Description

The dbm_fetch subroutine accesses data stored under a key.

Parameters


db Specifies the database to access.
key Specifies the input key.

Return Values

Upon successful completion, this subroutine returns a datum structure containing the value returned for the specified key. If the subroutine is unsuccessful, a null value is indicated in the dptr field of the datum structure.

Implementation Specifics

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

Related Information

The fetch subroutine.

List of NDBM and DBM Programming References and NDBM Overview in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]