syscalls.c 372 B

1234567891011
  1. /* This file is lisenced under LGPL
  2. * Copyright (C) 2002-2003, George Thanos <george.thanos@gdt.gr>
  3. * Yannis Mitsos <yannis.mitsos@gdt.gr>
  4. */
  5. #include <syscall.h>
  6. /* We now need a declaration of the `errno' variable. */
  7. extern int errno;
  8. # define __set_errno(val) ((errno) = (val))
  9. _syscall2( int, kprintf, char *, msg, int, len)