[Top][All Lists]

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

doc scm_c_read, scm_c_write

From: Kevin Ryde
Subject: doc scm_c_read, scm_c_write
Date: Wed, 03 Sep 2003 08:38:43 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.3 (gnu/linux)

A couple of bits from the news file,

        * scheme-io.texi (Reading): Add scm_c_read.
        (Writing): Add scm_c_write.

 - C Function: size_t scm_c_read (SCM port, void *buffer, size_t size)
     Read up to SIZE bytes from PORT and store them in BUFFER.  The
     return value is the number of bytes actually read, which can be
     less than SIZE, and indeed possibly zero, if end-of-file has been

     Note that this function does not update `port-line' and
     `port-column' above.

 - C Function: void scm_c_write (SCM port, const void *buffer, size_t
     Write SIZE bytes from BUFFER to PORT.

     Note that this function does not update `port-line' and
     `port-column' (*note Reading::).

reply via email to

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