Files
Stefan Berger 8bbe609bb9 [Pal] Move x86_64/Linux sysdep-x86_64.h to arch/x86_64/Linux/
Also, adapt the Makefiles to add the arch specific directory to the CFLAGS.
The Linux-SGX sysdep-x86_64.h was identical and could therefore be removed.
2020-05-09 14:43:17 +02:00

9 lines
196 B
C

#include <sys/syscall.h>
#include <sysdep-arch.h>
int main(int argc, char** argv) {
const char buf[] = "Hello world\n";
INLINE_SYSCALL(write, 3, 1, buf, sizeof(buf) - 1);
return 0;
}