syscall.c 198 B

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