Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1385 → Rev 1386

/kernel/trunk/generic/src/syscall/syscall.c
47,17 → 47,17
#include <syscall/copy.h>
#include <sysinfo/sysinfo.h>
 
static __native sys_io(int fd, const void * buf, size_t count) {
return count; /*Syscall deprecated*/
static __native sys_io(int fd, const void * buf, size_t count)
{
// return count; /*Syscall deprecated*/
// TODO: buf sanity checks and a lot of other stuff ...
/*
 
size_t i;
for (i = 0; i < count; i++)
putchar(((char *) buf)[i]);
return count;*/
return count;
}
 
/** Dispatch system call */