mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-22 11:13:22 +00:00
@ -1,16 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <string.h>
|
||||
|
||||
/**
|
||||
* @brief 识别dmesg程序的第一个选项参数
|
||||
*
|
||||
* @param arg dmesg命令第一个选项参数
|
||||
* @return int 有效时返回对应选项码,无效时返回 -1
|
||||
*/
|
||||
int getopt(char *arg);
|
||||
int getoption(char *arg);
|
||||
|
||||
/**
|
||||
* @brief 识别dmesg程序的第二个选项参数
|
||||
|
Reference in New Issue
Block a user