Home
last modified time | relevance | path

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

/DragonOS-0.1.5/user/libs/libc/src/
Dstdio.c67 if (strcmp(mode, "r") == 0) in fopen()
69 else if (strcmp(mode, "r+") == 0) in fopen()
71 else if (strcmp(mode, "w") == 0) in fopen()
73 else if (strcmp(mode, "w+") == 0) in fopen()
75 else if (strcmp(mode, "a") == 0) in fopen()
77 else if (strcmp(mode, "a+") == 0) in fopen()
Dstring.c13 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
/DragonOS-0.1.5/docs/userland/libc/apis/api-list/
Dstring.md11 ``int strcmp(const char *a,const char *b)`` 比较字符串的字典序
/DragonOS-0.1.5/user/libs/libc/src/include/export/
Dstring.h25 int strcmp(const char *FirstPart, const char *SecondPart);
/DragonOS-0.1.5/user/apps/shell/
Dcmd.c90 if (strcmp(main_cmd, shell_cmds[i].name) == 0) // 找到对应的命令号 in shell_find_cmd()
131 if (!strcmp(".", argv[1])) in shell_cmd_cd()
135 if (!strcmp("..", argv[1])) in shell_cmd_cd()
139 if (!strcmp("/", shell_current_path)) in shell_cmd_cd()
497 if (strcmp(argv[argc - 1], "&") != 0) in shell_cmd_exec()
554 if (argc == 2 && strcmp("-m", argv[1]) != 0) in shell_cmd_free()
/DragonOS-0.1.5/kernel/src/common/
Dstring.h41 int strcmp(const char *FirstPart, const char *SecondPart);
/DragonOS-0.1.5/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.5/kernel/src/libs/
Dstring.c42 int strcmp(const char *FirstPart, const char *SecondPart) in strcmp() function
/DragonOS-0.1.5/docs/kernel/core_api/
Dkernel_api.md551 #### `int strcmp(char *FirstPart, char *SecondPart)`