blob: e58ad5f79f0009552b6e51786107a68f11bb1f12 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001/* 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
6#include <syscall.h>
7
8/* We now need a declaration of the `errno' variable. */
9extern int errno;
10# define __set_errno(val) ((errno) = (val))
11_syscall2( int, kprintf, char *, msg, int, len)