[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Memory mapped I/O and CHICKEN ports

From: felix winkelmann
Subject: Re: [Chicken-users] Memory mapped I/O and CHICKEN ports
Date: Sat, 4 Dec 2004 09:37:00 +0100

On Fri, 03 Dec 2004 20:48:55 +0100, Thomas Chust <address@hidden> wrote:
> Hello,
> I just wondered if there was any clever way to send data from a memory
> mapped file to a CHICKEN output port *whithout* first moving it to a
> buffer using (move-memory! ...)

What you currently do is copy the data into a buffer and
write it then into the port, right?
There is no way to write contents pointed to by a pointer directly,
unless you fetch and write the data explicitly (either by character,
block-wise or in one go).
Could you give some more information? Is the file to big, is the
operation too slow, or is the interface to awkward?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]