-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Nov 23, 2015 at 10:07:11PM +0100, Andreas Rottmann wrote: > <to...@tuxteam.de> writes:
[...] > > what Jan is after (and what I'd like to have too) is something > > akin to Unix read(2) with O_NONBLOCK: [...] > The procedure with the closest semantics is R6RS > `get-bytevector-some`. While the R6RS says it will block if no data is > available, a quick look at Guile source code seems to indicate that it > probably works with non-blocking I/O -- I'd say it should return EOF if > called on a non-readable, non-blocking port, and otherwise not block, > and return the data available. This is all just from a quick > inspection, without running any actual code. Thanks a bunch for looking into it. I'll give it a try and report back. Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlZUgjsACgkQBcgs9XrR2kbScACdH6hoWVVX6m6oCk1O3Fq+S1Pn EI4AnRvOO3QSBMq/GmU8Mzctm4VliTMe =Nyl4 -----END PGP SIGNATURE-----