[iolib-devel] Latest news: {read, write}-{char, byte}, {read, write}-sequence, write-string and read-line now work

Stelian Ionescu sionescu at common-lisp.net
Thu Apr 26 22:21:19 UTC 2007

as in the subject :), I also made new releases of iolib-posix and iolib
I've (manually) tested the code and it seems to work in sbcl-,
clisp-2.41 and cmucl-19d all on Linux/x86-32(although the tests weren't
anything fancy)

at the moment all I/O is buffered so you need to call FINISH-OUTPUT to
flush the buffers

write-sequence can handle sequences of type: STRING,
read-sequence can handle: STRING, (SIMPLE-ARRAY (UNSIGNED-BYTE 8) (*))
support for other types of sequences(lists, arrays of floats etc..) can
be added if someone asks it

external formats: default line terminator is :UNIX(also :DOS and :MAC
available) and default encoding is :UTF-8 if the implementation supports
unicode otherwise is :ISO-8859-1; encodings and line terminators can be
mixed at pleasure like this:
  (make-external-format :iso-8859-5 :line-terminator :mac)
external formats can be changed using (SETF EXTERNAL-FORMAT-OF)

now I'll start writing some documentation and porting drakma to iolib

(sign :name "Stelian Ionescu" :aka "fe[nl]ix"
      :quote "Quidquid latine dictum sit, altum videtur.")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/iolib-devel/attachments/20070427/ef0525c9/attachment.sig>

More information about the iolib-devel mailing list