[R6RS] set-file-position! clarification

R. Kent Dybvig dyb at cs.indiana.edu
Wed Apr 4 11:01:50 EDT 2007

Although Windows does support Posix lseek and specifically allows the port
position to be set beyond the end of a file, the MSDN documentation does
not say whether the intervening bytes are zero filled if a write occurs at
the new position.  Furthermore, the MSDN documentation for the Windows API
function SetFilePointer says that contents are unspecified in this case. 
So I suggest that we follow suit and leave the unwritten intervening bytes


More information about the R6RS mailing list