ardix/include/arch-generic/syscall.h

25 lines
751 B
C

/* See the end of this file for copyright, license, and warranty information. */
#pragma once
#define ARCH_SYS_read 0
#define ARCH_SYS_write 1
#define ARCH_SYS_sleep 2
#define ARCH_SYS_malloc 3
#define ARCH_SYS_free 4
#define ARCH_SYS_exec 5
#define ARCH_SYS_exit 6
#define ARCH_SYS_waitpid 7
/*
* This file is part of Ardix.
* Copyright (c) 2020, 2021 Felix Kopp <owo@fef.moe>.
*
* Ardix is non-violent software: you may only use, redistribute,
* and/or modify it under the terms of the CNPLv6+ as found in
* the LICENSE file in the source code root directory or at
* <https://git.pixie.town/thufie/CNPL>.
*
* Ardix comes with ABSOLUTELY NO WARRANTY, to the extent
* permitted by applicable law. See the CNPLv6+ for details.
*/