lkml.org 
[lkml]   [1997]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Killing clones


On Mon, 15 Sep 1997, Teunis Peters wrote:
>
> (and how does one grow/shrink a mmap'd region? That's one thing I still
> haven't figured out... apparently growing/shrinking mmap'd files uses
> 'ftruncate' but what about nonfile shared memory regions?)

You can use "mremap()" to grow or shrink (or move) an existing memory map.

I don't know if anybody uses it, though.

Linus


\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.057 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site