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

Technical Reference: Communications, Volume 1

fetch Subroutine

Purpose

Accesses data stored under a key.

Library

DBM Library (libdbm.a)

Syntax

#include <dbm.h>


datum fetch ( key)
datum key;

Description

The fetch subroutine accesses data stored under a key.

Parameters

key Specifies the input key.

Return Values

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

Related Information

The dbm_fetch subroutine.

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

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