1 #include <unistd.h> 2 3 int 4 main(void) 5 { 6 static const char msg[] = "main executed\n"; 7 write(STDOUT_FILENO, msg, sizeof(msg) - 1); 8 return 0; 9 } 10