add sys_add_three_integers
This commit is contained in:
8
kern/syscall/add_three_integers.c
Normal file
8
kern/syscall/add_three_integers.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <types.h>
|
||||
#include <lib.h>
|
||||
#include <syscall.h>
|
||||
|
||||
int sys_add_three_integers(int a, int b, int c, int *ret) {
|
||||
*ret = a + b + c;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user