Hello, World! With Just Syscall
/*
* This is a hello-world program using just Linux syscalls.
*/
#include <string.h>
#include <sys/syscall.h>
main()
{
char *msg = "Hello, world!\n";
syscall(SYS_write, 1, msg, strlen(msg));
// SYS_write is just a symbolic name for the constant 4.
}