bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WRITER mode of gdbm


From: Oleg Goodyckov
Subject: WRITER mode of gdbm
Date: Tue, 19 Nov 2002 10:29:46 +0200
User-agent: Mutt/1.2.5.1i

Hi!

I try to use gdbm. But I have some trouble.
When I have not created db "t.db", for example, and want to open it in
WRITER mode, I want to get error and db_open have to fail. This is written
in man and info for gdbm.
But when I issue command 

      db = gdbm_open("t.db",0,GDBM_WRITER,0,0);

new databse "t.db" is creating. I have not found mode of opening, when
gdbm_open fails while opening database is not exists. So, how can I reach
such effect?

Thanx!

Oleg.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]