From: Patrick O'Rourke USG <orourke@zk3.dec.com>
Subject: Re: Digital Unix mmap usage
Date: 1996/06/28 [thread overview]
Message-ID: <31D3D71D.41C6@zk3.dec.com> (raw)
In-Reply-To: 31D29D9F.41C6@geodepth.com
Oleg Meshbey wrote:
> Does anybody know, how to use mmap function with growing files?
>
> Other Unix platforms permit to specify length of the new region (second
> parameter of mmap) greater then physical file size.
>
> DEC mmap fails in this case.
>
What version of the OS are you running on? On version 4.0 you can give mmap(2)
a length greater than the size of the file. On earlier versions mmap(2) would
not allow it (I believe this restriction was originally in place to adhere an
earlier standard).
Pat
--
Patrick O'Rourke (603) 881-0124
orourke@zk3.dec.com Office: ZK3/3S05
prev parent reply other threads:[~1996-06-28 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-27 4:00 Digital Unix mmap usage Oleg Meshbey
1996-06-28 4:00 ` Patrick O'Rourke USG [this message]
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