| 
									
										
										
										
											2013-10-15 07:27:49 -04:00
										 |  |  | USING: help.markup help.syntax ;
 | 
					
						
							|  |  |  | IN: io.files.windows | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | HELP: open-read | 
					
						
							|  |  |  | { $values { "path" "a filesystem path" } { "win32-file" "a win32 file-handle" } } | 
					
						
							|  |  |  | { $description "Opens a file for reading and returns a filehandle to it." } | 
					
						
							|  |  |  | { $examples | 
					
						
							| 
									
										
										
										
											2014-04-13 19:26:43 -04:00
										 |  |  |   { $unchecked-example | 
					
						
							|  |  |  |     "USING: io.files.windows prettyprint ;" | 
					
						
							| 
									
										
										
										
											2013-10-15 07:27:49 -04:00
										 |  |  |     "\"resource:core/kernel/kernel.factor\" absolute-path open-read ." | 
					
						
							|  |  |  |     "T{ win32-file { handle ALIEN: 234 } { ptr 0 } }" | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } ;
 |