From: "Jeremy D. Levine" <levine@amarex.com>
Subject: mmap problem DUX 3.2g
Date: 1997/02/25 [thread overview]
Message-ID: <33135606.41C6@amarex.com> (raw)
--
Are there any known problem mmaping a file. I seem to be able to
MAP_ANONYMOUS with no problems but when I try MAP_FILE I never
seem to get it to work.^[o
This is a segment of the code
start_map = mmap((caddr_t) 0,
(size_t) psize,
PROT_READ|PROT_WRITE,
MAP_FILE | MAP_VARIABLE|MAP_SHARED,
file_d,
(off_t) 0);
The mmap fails and errno 6 is returned. The file_d is valid and the
file is open for read and write
Jeremy Levine -- levine@amarex.com
reply other threads:[~1997-02-25 5:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox