移除relibc和old libc以及旧的shell (#529)

移除relibc和old libc以及旧的shell
This commit is contained in:
裕依
2024-03-04 14:20:01 +08:00
committed by GitHub
parent f3b05a97ec
commit bc6f0a967c
141 changed files with 334 additions and 8836 deletions

View File

@ -1,4 +1,6 @@
#include "dmesg.h"
#include <stdio.h>
#include <string.h>
/**
* @brief 识别dmesg程序的第一个选项参数
@ -6,7 +8,7 @@
* @param arg dmesg命令第一个选项参数
* @return int 有效时返回对应选项码,无效时返回 -1
*/
int getopt(char *arg)
int getoption(char *arg)
{
if (!strcmp(arg, "-h") || !strcmp(arg, "--help"))
return 0;