[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mmap for guile
From: |
Matt Wette |
Subject: |
Re: mmap for guile |
Date: |
Mon, 4 Jul 2022 05:59:31 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 |
On 7/4/22 3:09 AM, Ludovic Courtès wrote:
greed.
I was wondering about offering an explicit ‘munmap’ interface: it would
be useful for fine-grain OS resource management, just like ‘close-fdes’.
Sorry, missed the munmap.
scheme@(guile-user)> ,d munmap
- Scheme Procedure: munmap bvec
See the man page. Given bytevector generated by a mmap function,
unmap the associated memory. The argument will be modified to
reflect a zero length bv.