mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Document that non-blocking mode isn't always supported on Windows [ci skip]
This commit is contained in:
		
							parent
							
								
									676df311d9
								
							
						
					
					
						commit
						b6f07f748a
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -39,6 +39,10 @@ class IO
 | 
			
		|||
  #
 | 
			
		||||
  # read_nonblock causes EOFError on EOF.
 | 
			
		||||
  #
 | 
			
		||||
  # On some platforms, such as Windows, non-blocking mode is not supported
 | 
			
		||||
  # on IO objects other than sockets. In such cases, Errno::EBADF will
 | 
			
		||||
  # be raised.
 | 
			
		||||
  #
 | 
			
		||||
  # If the read byte buffer is not empty,
 | 
			
		||||
  # read_nonblock reads from the buffer like readpartial.
 | 
			
		||||
  # In this case, the read(2) system call is not called.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue