🆕 在shell中启动另一个程序

This commit is contained in:
fslongjin
2022-06-07 23:18:26 +08:00
parent 129d24296b
commit 4e04ab9eee
14 changed files with 109 additions and 77 deletions

View File

@ -170,6 +170,8 @@ static inline struct List *list_next(struct List *entry)
//计算字符串的长度经过测试该版本比采用repne/scasb汇编的运行速度快16.8%左右)
static inline int strlen(char *s)
{
if(s == NULL)
return 0;
register int __res = 0;
while (s[__res] != '\0')
{