mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* io.c (rb_io_s_read): new method to call IO#read from
pathname. In addition, it accepts third optional argument to specify starting point. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
24a286efe1
commit
0b3092922d
9 changed files with 93 additions and 44 deletions
|
@ -420,7 +420,7 @@ enum sock_recv_type {
|
|||
RECV_RECV, /* BasicSocket#recv(no from) */
|
||||
RECV_IP, /* IPSocket#recvfrom */
|
||||
RECV_UNIX, /* UNIXSocket#recvfrom */
|
||||
RECV_SOCKET, /* Socket#recvfrom */
|
||||
RECV_SOCKET /* Socket#recvfrom */
|
||||
};
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue