/DragonOS-0.1.7/user/apps/about/ |
D | about.c | 9 printf(" ____ ___ ____ \n"); in print_ascii_logo() 10 printf("| _ \\ _ __ __ _ __ _ ___ _ __ / _ \\ / ___| \n"); in print_ascii_logo() 11 printf("| | | || '__| / _` | / _` | / _ \\ | '_ \\ | | | |\\___ \\ \n"); in print_ascii_logo() 12 printf("| |_| || | | (_| || (_| || (_) || | | || |_| | ___) |\n"); in print_ascii_logo() 13 printf("|____/ |_| \\__,_| \\__, | \\___/ |_| |_| \\___/ |____/ \n"); in print_ascii_logo() 14 printf(" |___/ \n"); in print_ascii_logo() 18 printf(" DragonOS - An opensource operating system.\n"); in print_copyright() 19 printf(" Copyright: fslongjin & DragonOS Community. 2022-2023, All rights reserved.\n"); in print_copyright() 20 printf(" Version: "); in print_copyright() 22 printf(" Git commit SHA1: %s\n", DRAGONOS_GIT_COMMIT_SHA1); in print_copyright() [all …]
|
/DragonOS-0.1.7/user/apps/shell/ |
D | shell.c | 55 printf("[DragonOS] %s # ", shell_current_path); in main_loop() 81 printf("\n"); in main_loop() 86 printf("\n"); in main_loop() 113 printf("%c", '\b'); in clear_command() 142 printf("%s", buf); in change_command() 172 printf("%c", '\b'); in shell_readline() 186 printf("%c", '\b'); in shell_readline() 208 printf("%c", '\b'); in shell_readline() 219 printf("%c", '\b'); in shell_readline() 221 printf("%c", '\b'); in shell_readline() [all …]
|
D | cmd_test.c | 18 printf("pipe error"); in shell_pipe_test() 24 printf("fork error"); in shell_pipe_test() 37 printf("Child process received message: %s\n", buf); // 打印收到的消息 in shell_pipe_test() 40 printf("Child process exits.\n"); // 打印退出信息 in shell_pipe_test() 45 printf("Child process is doing something...\n"); // 模拟子进程做一些操作 in shell_pipe_test() 70 printf("Parent process send:%s\n", msg); in shell_pipe_test() 75 printf("Parent process exits.\n"); // 打印退出信息 in shell_pipe_test()
|
D | cmd.c | 159 printf("ERROR: Path too long!\n"); in shell_cmd_cd() 201 printf("ERROR: Path too long!\n"); in shell_cmd_cd() 225 printf("ERROR: Cannot switch to directory: %s\n", new_path); in shell_cmd_cd() 273 printf("\n"); in shell_cmd_ls() 292 printf("%s\n", shell_current_path); in shell_cmd_pwd() 314 printf("ERROR: Cannot open file: %s, fd=%d\n", file_path, fd); in shell_cmd_cat() 330 printf("ERROR: Cannot read file: %s\n", file_path); in shell_cmd_cat() 336 printf("%s", buf); in shell_cmd_cat() 436 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir() 470 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rm() [all …]
|
D | cmd_help.c | 17 printf("Help:\n"); in shell_help() 28 printf("Example of cd: cd [destination]\n"); in shell_help_cd()
|
/DragonOS-0.1.7/user/apps/test_relibc/ |
D | main.c | 19 printf("Server is exiting...\n"); in signal_handler() 32 printf("TCP Server is running...\n"); in tcp_server() 34 printf("socket() ok, server_sockfd=%d\n", server_sockfd); in tcp_server() 46 printf("TCP Server is listening...\n"); in tcp_server() 53 printf("listen() ok\n"); in tcp_server() 66 printf("Connection established.\n"); in tcp_server() 69 printf("Create connection failed, code=%d\n", conn); in tcp_server() 79 printf("Receive data failed! len=%d\n", len); in tcp_server() 87 printf("Received: %s\n", buffer); in tcp_server() 96 printf("UDP Server is running...\n"); in udp_server() [all …]
|
/DragonOS-0.1.7/kernel/src/debug/ |
D | kallsyms.c | 112 printf(".section .rodata\n\n"); in generate_result() 113 printf(".global kallsyms_address\n"); in generate_result() 114 printf(".align 8\n\n"); in generate_result() 116 printf("kallsyms_address:\n"); // 地址数组 in generate_result() 132 printf("\t.quad\t%#llx\n", symbol_table[i].vaddr); in generate_result() 141 printf(".global kallsyms_num\n"); in generate_result() 142 printf(".align 8\n"); in generate_result() 143 printf("kallsyms_num:\n"); in generate_result() 144 printf("\t.quad\t%lld\n", total_syms_to_write); in generate_result() 149 printf(".global kallsyms_names_index\n"); in generate_result() [all …]
|
/DragonOS-0.1.7/user/apps/test_signal/ |
D | main.c | 31 printf("handle %d\n", sig); in handler() 37 printf("Test signal running...\n"); in main() 39 printf("registered.\n"); in main() 52 printf("Handle OK!\n"); in main()
|
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/ |
D | printf.md | 1 # printf.h 3 不建议引用,需要 ``printf`` 函数请引用 ``stdio.h``
|
D | stdio.md | 12 ``int printf(const char *fmt, ...)`` 14 就是正常的 ``printf`` 22 格式化,不建议调用,请用 printf 或 sprintf 替代。
|
/DragonOS-0.1.7/tools/ |
D | bootstrap.sh | 90 printf "卸载 multirust (y/N):" 104 printf "(y/N): " 129 printf "(y/N): " 203 printf "\e[31;1mFatal error: \e[0;31mUnsupported platform, please open an issue\[0m" || exit 1
|
/DragonOS-0.1.7/docs/userland/libc/apis/ |
D | index.rst | 13 api-list/printf
|
/DragonOS-0.1.7/user/libs/libc/src/include/export/ |
D | stdio.h | 49 int printf(const char *fmt, ...);
|
/DragonOS-0.1.7/user/libs/libc/src/ |
D | dirent.c | 21 printf("Failed to open dir\n"); in opendir()
|
D | stdio.c | 42 return printf("%c", (char)c); in putchar()
|
D | malloc.c | 353 printf("release(): free list end is null. \n"); in release_brk()
|
D | printf.c | 41 int printf(const char *fmt, ...) in printf() function
|
/DragonOS-0.1.7/docs/kernel/process_management/ |
D | kthread.md | 43   printf-style format string for the thread name
|
/DragonOS-0.1.7/docs/community/ChangeLog/V0.1.x/ |
D | V0.1.0.md | 229 - printf
|