Initial revision

This commit is contained in:
Ben Gras
2005-04-21 14:53:53 +00:00
commit 9865aeaa79
2264 changed files with 411685 additions and 0 deletions

21
lib/other/setcache.c Normal file
View File

@@ -0,0 +1,21 @@
#include <minix/config.h>
#include <lib.h>
#include <unistd.h>
#include <minix/type.h>
#include <minix/com.h>
int
setcache(int kb)
{
message m;
int r;
m.m1_i1 = kb;
m.m_type = SETCACHE;
if ((r=_syscall(FS, SETCACHE, &m)) < 0)
return(-1);
return(m.m_type);
}