From: Hal Fulton Date: 2004-07-21T16:47:23+09:00 Subject: Re: sysread and buffered I/O Tanaka Akira wrote: >>I am not sure I like readchunk. I think I prefer an underscore >>at least. Other ideas might be: >> read_partial # looks better with underscore? >> read_part >> read_any >> read_all (?) >> read_waiting (?) >> read_avail # meaning "available" >> read_bytes >> readbytes # looks ok without underscore? > > An underscore is inconsistent with other IO read??? methods: readchar, > readline, readlines. I see. Well, maybe: readchars # with an s readstr # could be 'string' or 'stream' readsys # reminds us of sysread But I do not really care much, readchunk is ok if it works. :) > Currently Ruby uses stdio because no one write it. I do not know much about low-level I/O. How hard would this be to do? Hal