Searched refs:strcmp (Results 1 – 12 of 12) sorted by relevance
/DragonOS-0.1.8/user/libs/libc/src/ |
D | stdio.c | 74 if (strcmp(mode, "r") == 0) in fopen() 76 else if (strcmp(mode, "r+") == 0) in fopen() 78 else if (strcmp(mode, "w") == 0) in fopen() 80 else if (strcmp(mode, "w+") == 0) in fopen() 82 else if (strcmp(mode, "a") == 0) in fopen() 84 else if (strcmp(mode, "a+") == 0) in fopen()
|
D | string.c | 13 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
|
/DragonOS-0.1.8/user/apps/shell/ |
D | cmd_test.c | 38 if (strcmp(buf, "quit") == 0) in shell_pipe_test() 73 if (strcmp(msg, "quit") == 0) in shell_pipe_test()
|
D | cmd.c | 101 if (strcmp(main_cmd, shell_cmds[i].name) == 0) // 找到对应的命令号 in shell_find_cmd() 142 if (!strcmp(".", argv[1])) in shell_cmd_cd() 146 if (!strcmp("..", argv[1])) in shell_cmd_cd() 150 if (!strcmp("/", shell_current_path)) in shell_cmd_cd() 519 if (strcmp(argv[argc - 1], "&") != 0) in shell_cmd_exec() 574 if (argc == 2 && strcmp("-m", argv[1]) != 0) in shell_cmd_free()
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | string.md | 11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | string.h | 25 int strcmp(const char *FirstPart, const char *SecondPart);
|
/DragonOS-0.1.8/user/apps/test_relibc/ |
D | main.c | 82 if (strcmp(buffer, "exit\n") == 0) in tcp_server() 125 if (strcmp(buffer, "exit\n") == 0) in udp_server() 172 if (strcmp(sendbuf, "exit\n") == 0) in tcp_client()
|
/DragonOS-0.1.8/kernel/src/common/ |
D | string.h | 41 int strcmp(const char *FirstPart, const char *SecondPart);
|
/DragonOS-0.1.8/kernel/src/debug/ |
D | kallsyms.c | 99 if (strcmp(symbol_table[i].symbol, "_text")==0) in read_map() 101 if (strcmp(symbol_table[i].symbol, "_etext")==0) in read_map()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | string.c | 42 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
|
/DragonOS-0.1.8/user/apps/http_server/ |
D | main.c | 148 if (strcmp(method, "GET") == 0) in handle_request()
|
/DragonOS-0.1.8/docs/kernel/core_api/ |
D | kernel_api.md | 551 #### `int strcmp(char *FirstPart, char *SecondPart)`
|