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

John Cowan cowan at ccil.org
Sun Feb 4 18:34:23 EST 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




More information about the r6rs-discuss mailing list