summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/io.c b/io.c
index 76b6f8771e3..32b8a7b3c1f 100644
--- a/io.c
+++ b/io.c
@@ -3528,9 +3528,13 @@ rb_io_binmode(VALUE io)
* call-seq:
* ios.binmode => ios
*
- * Puts <em>ios</em> into binary mode. This is useful only in
- * MS-DOS/Windows environments. Once a stream is in binary mode, it
- * cannot be reset to nonbinary mode.
+ * Puts <em>ios</em> into binary mode.
+ * Once a stream is in binary mode, it cannot be reset to nonbinary mode.
+ *
+ * - newline conversion disabled
+ * - encoding conversion disabled
+ * - content is treated as ASCII-8BIT
+ *
*/
static VALUE