ndbm.h(3HEAD) Headers ndbm.h(3HEAD)NAME
ndbm.h, ndbm - definitions for ndbm database operations
SYNOPSIS
#include <ndbm.h>
DESCRIPTION
The <ndbm.h> header defines the datum type as a structure that includes at least the following members:
void *dptr /* pointer to the application's data */
size_t dsize /* size of the object pointed to by dptr */
The size_t type is defined through typedef as described in <stddef.h>.
The <ndbm.h> header defines the DBM type through typedef.
The following constants are defined as possible values for the store_mode argument to dbm_store():
DBM_INSERT Insertion of new entries only.
DBM_REPLACE Allow replacing existing entries.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO ndbm(3C), attributes(5), standards(5)SunOS 5.11 30 Aug 2002 ndbm.h(3HEAD)
Check Out this Related Man Page
<ndbm.h>(P) POSIX Programmer's Manual <ndbm.h>(P)
NAME
ndbm.h - definitions for ndbm database operations
SYNOPSIS
#include <ndbm.h>
DESCRIPTION
The <ndbm.h> header shall define the datum type as a structure that includes at least the following members:
void *dptr A pointer to the application's data.
size_t dsize The size of the object pointed to by dptr.
The size_t type shall be defined as described in <stddef.h> .
The <ndbm.h> header shall define the DBM type.
The following constants shall be defined as possible values for the store_mode argument to dbm_store():
DBM_INSERT
Insertion of new entries only.
DBM_REPLACE
Allow replacing existing entries.
The following shall be declared as functions and may also be defined as macros. Function prototypes shall be provided.
int dbm_clearerr(DBM *);
void dbm_close(DBM *);
int dbm_delete(DBM *, datum);
int dbm_error(DBM *);
datum dbm_fetch(DBM *, datum);
datum dbm_firstkey(DBM *);
datum dbm_nextkey(DBM *);
DBM *dbm_open(const char *, int, mode_t);
int dbm_store(DBM *, datum, datum, int);
The mode_t type shall be defined through typedef as described in <sys/types.h> .
The following sections are informative.
APPLICATION USAGE
None.
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
<stddef.h> , <sys/types.h> , the System Interfaces volume of IEEE Std 1003.1-2001, dbm_clearerr()
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE /The Open Group 2003 <ndbm.h>(P)
Hi all,
Iam unable to send mail from my unix machine(solaris x86,version 5.10) to the outside world.
I can able to access the internet,but not able to send to any yahoo or company email id.
Before posting this,i have searched this forum many times,but could not get the results what i... (5 Replies)
I need to install the Linux clive binary to allow downloading & streaming of audio/video content. I attempted to install the bin using the README instructions which referenced a .pl script. This then advised me I needed to install Perl 5.8.9 to run, which I have done (and obviously made a balls of... (10 Replies)
I'm using SUN x4600 with 64GB ram and 2 SAS 146GB 10krpm with Solaris 10
One told me, that the system seems to be slow, so I did a
iostat -xtc 5 2
which showed for a long period of time only 4-6000 kw/s and 100%b
dbserver:~ # iostat -xtc 5 200
extended device... (3 Replies)
Need to change sender email id from applmgr@<hostname>.<domain-name> to applmgr@domain-name.
Understand we can change in the sendmail.cf where $j is the hostname.domain-name.. can anyone show the exact value to change?
Thank you. (8 Replies)
Hello Friends,
I am running Sendmail 8.14 on rhel6. I have one simple question regarding domain masquerading, i would want to masquerade different domains with different addresses. By that what i mean is that lets say i have 3 domains as home.com, example.com, test.com and i would want to... (0 Replies)
Hi All,
Need help !.
I am configuring SMTP server details in my sendmail.cf
My SMTP server details are like MAC234.ad.compname.com, and i have configured my sendmail.cf with this address.
But mail address is something like user1@compname.com. Now when i run the sendmail command, i get... (6 Replies)
I am wondering if someone can help a brother out. I am trying to create a DB using a GUI and when I am about to finish, it gets stuck. I hit finish but nothing happens. Any help from the community will be highly appreciated.
... (0 Replies)
Hi,
I have downloaded Audio::Beep. I tried to install it through CPAN but i got YAML error. Then I have tried to install it manually. I tried all the instructions provided in README file. It worked but when i am compiling , it still gives me error:
# ls
acct21.pl~ imap(2).pl ... (15 Replies)
Hi Team,
Not getting the file output inside my email which i am sending from unix box. . Please refer the below code :
#!/bin/sh
{
sleep 5
echo ehlo 10.56.185.13
sleep 3
echo mail from: oraairtel@CNDBMUREAPZP02.localdomain
sleep 3
echo rcpt to: saurabhtripathi@anniksystems.com... (1 Reply)
The sendmail on hp site is too old,and still support the bugged ssl3(poodle) even if enable tlsv1.
So i decide to compile sendmail by myself
i use this site.config.m4
define(`confCClibsmi', `gcc -fPIC')
define(`confCC',`/usr/local/bin/gcc -fPIC')
define(`confOPTIMIZE', ` -O3')... (0 Replies)
Hi,
sendmail on our hp-ux box is changing the userid of the from address. I have searched the web and read the man pages but can't stop this from happening.
We have a process which creates a text file we pass into sendmail. In the text file we write for example:
Return-Path:... (4 Replies)
Hello,
I am facing an issue with two Solaris 10 hosts that do not send email anymore. No changes were performed on host recently and error points to a name server lookup one.
I did a test, and obtained the following:
# mailx -v -s "Test from host01f" User_One@ABC.com < /dev/null
#... (0 Replies)
Hello Everyone,
root@test8:/>gunzip < /configapp/bkp_14JUN16_oraapp.tgz | /opt/freeware/bin/tar x>
exec(): 0509-036 Cannot load program /opt/freeware/bin/tar because of the following errors:
0509-130 Symbol resolution failed for tar because:
0509-136 Symbol... (2 Replies)
I'd like to share some experiences and what I found for NIS migration from Solaris 8 NIS to Linux platform.
I'm not an expert for both platforms, it's just when I tested both systems and found something really tricky. That might takes a lot of time for you to find the root cause. So, I think I can... (11 Replies)