summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1/syscalls.c
blob: e58ad5f79f0009552b6e51786107a68f11bb1f12 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*  This file is lisenced under LGPL
 *  Copyright (C) 2002-2003,    George Thanos <george.thanos@gdt.gr>
 *                              Yannis Mitsos <yannis.mitsos@gdt.gr>
 */

#include <syscall.h>

/* We now need a declaration of the `errno' variable.  */
extern int errno;
#   define __set_errno(val) ((errno) = (val))
_syscall2( int, kprintf, char *, msg, int, len)