Return to BSD News archive
Xref: sserve comp.unix.programmer:17398 comp.unix.questions:50154 comp.unix.bsd:14089 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!netnews.upenn.edu!hodgkin.med.upenn.edu!blackman From: blackman@hodgkin.med.upenn.edu (David Blackman) Newsgroups: comp.unix.programmer,comp.unix.questions,comp.unix.bsd Subject: mmap memory/disk synchronization Date: 3 Jun 1994 21:56:03 GMT Organization: University of Pennsylvania Lines: 13 Distribution: world Message-ID: <2so8tj$fkp@netnews.upenn.edu> NNTP-Posting-Host: hodgkin.med.upenn.edu Using SunOS 4.x, is there a way to insure that a disk file and a segment of memory mapped with mmap are consistent - i.e. to guarantee that all writes to the memory segment are on disk? I would like something like fflush but fflush wants a FILE * parameter and mmap wants an int fd. Please address any replies to: -- David Blackman blackman@hodgkin.med.upenn.edu (215) 572-1141