diff --git a/test/test_syscall_write.c b/test/test_syscall_write.c new file mode 100644 index 0000000..df86458 --- /dev/null +++ b/test/test_syscall_write.c @@ -0,0 +1,12 @@ +#include + +int add(int a, int b) { + return a+b; +} + +int main() { + char *text = "park hello world\n"; + int result = 0; + result = write(1, text, 18); + return 11; +}