xref: /DragonOS/user/apps/about/about.c (revision 4316306c607e2786d6ad0aa791c5fe198cc6a1a0)
1 #include <libc/stdio.h>
2 #include <libc/stdlib.h>
3 #include <libc/unistd.h>
4 #include <libc/time.h>
5 #include <libc/math.h>
6 
7 void print_ascii_logo()
8 {
9     printf(" ____                                      ___   ____ \n");
10     printf("|  _ \\  _ __   __ _   __ _   ___   _ __   / _ \\ / ___| \n");
11     printf("| | | || '__| / _` | / _` | / _ \\ | '_ \\ | | | |\\___ \\  \n");
12     printf("| |_| || |   | (_| || (_| || (_) || | | || |_| | ___) |\n");
13     printf("|____/ |_|    \\__,_| \\__, | \\___/ |_| |_| \\___/ |____/ \n");
14     printf("                     |___/     \n");
15 }
16 void print_copyright()
17 {
18     printf(" DragonOS - An opensource operating system.\n");
19     printf(" Copyright: fslongjin. 2022, All rights reserved.\n");
20     printf(" You can visit the project via:\n");
21     printf("\n");
22     put_string("    https://github.com/fslongjin/DragonOS\n", COLOR_ORANGE, COLOR_BLACK);
23     printf("\n");
24     printf("    Email: longjin@RinGoTek.cn\n");
25     printf("\n");
26 }
27 int main()
28 {
29     // printf("Hello World!\n");
30     print_ascii_logo();
31 
32     print_copyright();
33     // exit(0);
34     // while (1)
35     //     ;
36 
37     return 0;
38 }