18 lines
259 B
C
18 lines
259 B
C
#include <stdio.h>
|
|
#include <sys/syscall.h>
|
|
#include <unistd.h>
|
|
|
|
int main()
|
|
{
|
|
sleep(1);
|
|
|
|
syscall(SYS_paint, 0, 0, 400, 300, 0x000000FF);
|
|
|
|
sleep(1);
|
|
|
|
printf("Hello, colorful world!\n");
|
|
|
|
sleep(1);
|
|
|
|
printf("Press any key to restart.");
|
|
} |