14 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			288 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/read.c,v $
 | |
|  * $State: Exp $
 | |
|  * $Revision: 1.1 $
 | |
|  */
 | |
| 
 | |
| #include <stdlib.h>
 | |
| #include <errno.h>
 | |
| #include <unistd.h>
 | |
| #include "libsys.h"
 | |
| 
 | |
| int read(int fd, void* buffer, size_t count)
 | |
| {
 | |
| 	return _syscall(__NR_read, fd, (quad) buffer, count);
 | |
| }
 |