1ndbm.h(3HEAD) Headers ndbm.h(3HEAD)
2
3
4
6 ndbm.h, ndbm - definitions for ndbm database operations
7
9 #include <ndbm.h>
10
11
13 The <ndbm.h> header defines the datum type as a structure that
14 includes at least the following members:
15
16 void *dptr /* pointer to the application's data */
17 size_t dsize /* size of the object pointed to by dptr */
18
19
20
21 The size_t type is defined through typedef as described in <stddef.h>.
22
23
24 The <ndbm.h> header defines the DBM type through typedef.
25
26
27 The following constants are defined as possible values for the
28 store_mode argument to dbm_store():
29
30 DBM_INSERT Insertion of new entries only.
31
32
33 DBM_REPLACE Allow replacing existing entries.
34
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Standard │
46 └─────────────────────────────┴─────────────────────────────┘
47
49 ndbm(3C), attributes(5), standards(5)
50
51
52
53SunOS 5.11 30 Aug 2002 ndbm.h(3HEAD)