Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.3/user/apps/about/
Dabout.c10 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()
15 printf(" |___/ \n"); in print_ascii_logo()
19 printf(" DragonOS - An opensource operating system.\n"); in print_copyright()
20 printf(" Copyright: fslongjin & DragonOS Community. 2022, All rights reserved.\n"); in print_copyright()
21 printf(" Version: "); in print_copyright()
23 printf(" Git commit SHA1: %s\n", DRAGONOS_GIT_COMMIT_SHA1); in print_copyright()
[all …]
/DragonOS-0.1.3/user/apps/shell/
Dshell.c55 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()
163 printf("%c", '\b'); in shell_readline()
174 printf("%c", '\b'); in shell_readline()
189 printf("%c", '\b'); in shell_readline()
200 printf("%c", '\b'); in shell_readline()
202 printf("%c", '\b'); in shell_readline()
[all …]
Dcmd_help.c17 printf("Help:\n"); in shell_help()
28 printf("Example of cd: cd [destination]\n"); in shell_help_cd()
Dcmd.c159 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()
325 printf("%s", buf); in shell_cmd_cat()
425 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rmdir()
459 printf("Failed to remove %s, retval=%d\n", full_path, retval); in shell_cmd_rm()
501 printf("[1] %d\n", pid); in shell_cmd_exec()
528 printf("Usage: Kill <pid>\n"); in shell_cmd_kill()
[all …]
Dcmd_test.c17 printf("failed to create pipe\n"); in shell_pipe_test()
28 printf("parent read %d bytes data: %s\n", ret, buf); in shell_pipe_test()
/DragonOS-0.1.3/kernel/src/debug/
Dkallsyms.c112 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.3/user/apps/test_signal/
Dmain.c31 printf("handle %d\n", sig); in handler()
37 printf("Test signal running...\n"); in main()
39 printf("registered.\n"); in main()
51 printf("Handle OK!\n"); in main()
/DragonOS-0.1.3/docs/userland/libc/apis/api-list/
Dprintf.md1 # printf.h
3 不建议引用,需要 ``printf`` 函数请引用 ``stdio.h``
Dstdio.md12 ``int printf(const char *fmt, ...)``
14 就是正常的 ``printf``
22 格式化,不建议调用,请用 printf 或 sprintf 替代。
/DragonOS-0.1.3/tools/
Dbootstrap.sh87 printf "卸载 multirust (y/N):"
101 printf "(y/N): "
126 printf "(y/N): "
200 printf "\e[31;1mFatal error: \e[0;31mUnsupported platform, please open an issue\[0m" || exit 1
/DragonOS-0.1.3/docs/userland/libc/apis/
Dindex.rst13 api-list/printf
/DragonOS-0.1.3/user/libs/libc/src/include/
Dstdio.h49 int printf(const char *fmt, ...);
/DragonOS-0.1.3/user/libs/libc/src/
Ddirent.c21 printf("Failed to open dir\n"); in opendir()
Dstdio.c35 return printf("%c", (char)c); in putchar()
Dmalloc.c353 printf("release(): free list end is null. \n"); in release_brk()
Dprintf.c40 int printf(const char *fmt, ...) in printf() function
/DragonOS-0.1.3/docs/kernel/process_management/
Dkthread.md43 &emsp;&emsp;printf-style format string for the thread name
/DragonOS-0.1.3/docs/community/ChangeLog/V0.1.x/
DV0.1.0.md229 - printf