Virtual memory ndbm
John Pope
pope at vatican
Wed Aug 10 10:06:00 AEST 1988
In article <556 at ncar.ucar.edu>, pag at 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 at hao.ucar.edu
--
John Pope
Sun Microsystems, Inc.
pope at sun.COM
More information about the Comp.unix.wizards
mailing list