aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorsorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-12 00:21:32 +0000
committersorah <sorah@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-12 00:21:32 +0000
commit95c83df32555a89ed3dd69d1a1b948aef8dec201 (patch)
tree65223c2e6c35a49b5c89126409344446060dc1c8 /io.c
parentdbbcfa299a725f569db495c4349579b007529c21 (diff)
downloadruby-95c83df32555a89ed3dd69d1a1b948aef8dec201.tar.gz
* ext/socket/basicsocket.c: [DOC] typo (Errno::AGAIN -> Errno::EAGAIN)
* ext/socket/socket.c: ditto * ext/socket/tcpserver.c: ditto * ext/socket/udpsocket.c: ditto * ext/socket/unixserver.c: ditto * io.c: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io.c b/io.c
index 57ddbb713d..ca625008c6 100644
--- a/io.c
+++ b/io.c
@@ -2637,7 +2637,7 @@ io_readpartial(int argc, VALUE *argv, VALUE io)
* It causes all errors the read(2) system call causes: Errno::EWOULDBLOCK, Errno::EINTR, etc.
* The caller should care such errors.
*
- * If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
+ * If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
* it is extended by IO::WaitReadable.
* So IO::WaitReadable can be used to rescue the exceptions for retrying read_nonblock.
*
@@ -2738,7 +2738,7 @@ io_write_nonblock(VALUE io, VALUE str, VALUE opts)
* The result may also be smaller than string.length (partial write).
* The caller should care such errors and partial write.
*
- * If the exception is Errno::EWOULDBLOCK or Errno::AGAIN,
+ * If the exception is Errno::EWOULDBLOCK or Errno::EAGAIN,
* it is extended by IO::WaitWritable.
* So IO::WaitWritable can be used to rescue the exceptions for retrying write_nonblock.
*