File: test02.c

package info (click to toggle)
box64 0.3.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,880 kB
  • sloc: ansic: 373,273; python: 2,845; asm: 1,201; makefile: 267; sh: 112; cpp: 45
file content (9 lines) | stat: -rw-r--r-- 509 bytes parent folder | download | duplicates (2)
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 x86_64 World!\n";
    syscall(1, STDOUT_FILENO, msg, sizeof(msg)-1);
    return 0;                                                                   
}