RE: Memory Mapped files
"Roger Corman" <[email protected]>
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <000001c2e0a8$624a28b0$0300a8c0@roger> |
You can use: ccl:map-file ccl:unmap-file "Usage: (MAP-FILE pathname) Returns (1) address of the memory mapped file (or null if an error occurred) (2) the length (in bytes)" Just pass unmap-file the returned address from map-file when you are done with it. File-mapping is used for some things in corman lisp, such as reading of compiled files. You need to use ffi functions to deal directly with the memory returned via pointers. Roger -----Original Message----- From: luis_camou <[email protected]> [mailto:[email protected]] Sent: Thursday, February 27, 2003 8:43 PM To: [email protected] Subject: [cormanlisp] Memory Mapped files Hi: I have a question to this group. :=) Can Corman common lisp use memory mapped files? I know you can do this trough API calls. Unfortunately i am a newbie and this method using API calls seems complicated. Is there a book that explains how-to? Is this something that can be easily implemented in corman common lisp? Thank you To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/