From: Yamagata Y. <yor...@mb...> - 2004-04-03 04:45:10
|
From: Yamagata Yoriyuki <yor...@mb...> Subject: Re: [Ocaml-lib-devel] IO update Date: Sat, 03 Apr 2004 13:22:42 +0900 (JST) > In the implementation, you assume string is null-termintated (in > read_string) and int is 32-bit long (in write_ui32). Both are not the > case in OCaml. more idea on write_string/read_string. How about that write_string terminates a string by one of new line characters, and read_string recognize all of LF, CRLF, CR? The line I/O would be worthy addition. |