]> Pileus Git - ~andy/sfvlug/blob - cc/source/syscall.c
Update C Compiling presentation.
[~andy/sfvlug] / cc / source / syscall.c
1 #define _GNU_SOURCE
2 #include <unistd.h>
3 #include <sys/syscall.h>
4
5 void _start()
6 {
7         syscall(SYS_write, 0, "hello, world!\n", 14);
8         syscall(SYS_exit, 0);
9 }