about summary refs log tree commit diff stats
path: root/tests32/test02.c
blob: 2ef0ed4626cb9e921d019d7dcd3fb4164c6c5cdc (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <sys/syscall.h> 
#include <unistd.h>                                      
                                                                                
int main(int argc, char **argv)                                                 
{                                                                               
    const char msg[] = "Hello World!\n";
    syscall(4, STDOUT_FILENO, msg, sizeof(msg)-1);
    return 0;                                                                   
}