8 lines
		
	
	
	
		
			154 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			154 B
		
	
	
	
		
			C
		
	
	
	
	
	
#include "lib.h"
 | 
						|
 | 
						|
PUBLIC int write(fd, buffer, nbytes)
 | 
						|
char *buffer;
 | 
						|
int nbytes;
 | 
						|
{
 | 
						|
  return callm1(FS, WRITE, fd, nbytes, 0, buffer, NIL_PTR, NIL_PTR);
 | 
						|
}
 |