Home
last modified time | relevance | path

Searched refs:strcmp (Results 1 – 12 of 12) sorted by relevance

/DragonOS-0.1.8/user/libs/libc/src/
Dstdio.c74 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()
Dstring.c13 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
/DragonOS-0.1.8/user/apps/shell/
Dcmd_test.c38 if (strcmp(buf, "quit") == 0) in shell_pipe_test()
73 if (strcmp(msg, "quit") == 0) in shell_pipe_test()
Dcmd.c101 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/
Dstring.md11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dstring.h25 int strcmp(const char *FirstPart, const char *SecondPart);
/DragonOS-0.1.8/user/apps/test_relibc/
Dmain.c82 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/
Dstring.h41 int strcmp(const char *FirstPart, const char *SecondPart);
/DragonOS-0.1.8/kernel/src/debug/
Dkallsyms.c99 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/
Dstring.c42 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
/DragonOS-0.1.8/user/apps/http_server/
Dmain.c148 if (strcmp(method, "GET") == 0) in handle_request()
/DragonOS-0.1.8/docs/kernel/core_api/
Dkernel_api.md551 #### `int strcmp(char *FirstPart, char *SecondPart)`