[r6rs-discuss] [Formal] Buffer mode should be specifiable on open-file-input-port

From: John Cowan <cowan>
Date: Thu Feb 8 20:27:30 2007

---
This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html
---
Submitter: John Cowan
Email address: cowan_at_ccil.org
Issue type: Defect
Priority: Major
Component: I/O
Report version: 5.92
Summary:  Buffer mode should be specifiable on open-file-input-port
Currently, buffer modes are for output only.  However, operating systems
also distinguish between buffered and unbuffered input.  The
open-file-input-port procedure should be allowed to accept an additional
argument specifying the buffer mode, in parallel with open-file-output-port.
Allowing input to be unbuffered can limit deadlocks when dealing with
communicating processes.
-- 
Clear?  Huh!  Why a four-year-old child         John Cowan
could understand this report.  Run out          cowan_at_ccil.org
and find me a four-year-old child.  I           http://www.ccil.org/~cowan
can't make head or tail out of it.
        --Rufus T. Firefly on government reports
Received on Sun Feb 04 2007 - 18:34:23 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC