Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!lll-winken!sun-barr!olivea!mintaka!ai-lab!life.ai.mit.edu!guest From: guest@geech.ai.mit.edu (Guest Account) Newsgroups: comp.unix.programmer Subject: NDBM and ME Message-ID: Date: 10 May 91 16:49:44 GMT Sender: news@ai.mit.edu Organization: Guest at MIT Lines: 16 I read the manual on ndbm but I still have a question. I want to store structs and the structs have pointers to variable length strings. If I store the struct using the data.dptr how will the pointers remain valid after closing the database file? I don't really care how I do it, I just want to be able to use some kind of database management package on a struct like struct system_entry { char *system_name; char *telephone_number; char *login_name; char *password; } I won't know how long the strings are at compile time. ---GOOFY