From d70f5c6e0141f716a0bc66d26b4cb6f4211677b6 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 22 May 2006 08:38:37 +0000 Subject: * rubyio.h (rb_io_set_nonblock): declared. * io.c (rb_io_set_nonblock): new function. (io_getpartial): nonblocking read support. (io_read_nonblock): new method: IO#read_nonblock. (io_write_nonblock): new method: IO#write_nonblock. * ext/socket/socket.c (sock_connect_nonblock): new method: Socket#connect_nonblock. (sock_accept_nonblock): new method: Socket#accept_nonblock. (sock_recvfrom_nonblock): new method: Socket#recvfrom_nonblock. [ruby-core:7917] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- rubyio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'rubyio.h') diff --git a/rubyio.h b/rubyio.h index 6039158d5..ac28ead77 100644 --- a/rubyio.h +++ b/rubyio.h @@ -78,6 +78,7 @@ void rb_io_check_initialized _((OpenFile*)); void rb_io_check_closed _((OpenFile*)); int rb_io_wait_readable _((int)); int rb_io_wait_writable _((int)); +void rb_io_set_nonblock(OpenFile *fptr); VALUE rb_io_taint_check _((VALUE)); NORETURN(void rb_eof_error _((void))); -- cgit