Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!oliveb!sun!pope@vatican From: pope@vatican (John Pope) Newsgroups: comp.unix.wizards Subject: Re: Virtual memory ndbm Message-ID: <63650@sun.uucp> Date: 10 Aug 88 00:06:00 GMT References: <556@ncar.ucar.edu> Sender: news@sun.uucp Reply-To: pope@vatican (John Pope) Organization: Sun Microsystems, Inc. Lines: 16 In-reply-to: pag@hao.ucar.edu (Peter Gross) In article <556@ncar.ucar.edu>, pag@hao (Peter Gross) writes: > >The BSD ndbm database routines normally operate on disk files. I would >like to use the same functionality, but have the database[s] be in the >process virtual address space. It could be accomplished by a re-write >of the routines, or by mapping the files into memory. Do any wizards >out there have a suggestion on how to do this under a BSD-flavor Unix >(SunOS, Ultrix, 4.[23], etc.)? On BSD and SunOS, check out mmap(2). Don't know about Ultrix... >--peter gross >pag@hao.ucar.edu -- John Pope Sun Microsystems, Inc. pope@sun.COM