13 lines
		
	
	
		
			152 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			152 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| #include <lib.h>
 | |
| #define sync	_sync
 | |
| #include <unistd.h>
 | |
| 
 | |
| PUBLIC int fsync(int fd)
 | |
| {
 | |
|   message m;
 | |
| 
 | |
|   m.m1_i1 = fd;
 | |
| 
 | |
|   return(_syscall(FS, FSYNC, &m));
 | |
| }
 | 
