1 /* system call template */
3 /* Lots of system calls are trivial functions, so we build their source files
4 from a template. New syscalls can be added simply by editing the
7 Usage: Compile this file with "func" set to the name of the syscall. */
9 #include "sys/syscallasm.h"
11 #define concat(a,b) a##b
12 #define makesys(a) concat (SYS_, a)
14 defsyscall (func, makesys(func))