os
文章平均质量分 70
Frank.Ren
这个作者很懒,什么都没留下…
展开
-
OS C语言 模拟linux 指令
部分代码如下 const char* COMMAND_INFO = "info"; const char* COMMAND_MYGREP = "mygrep"; const char* COMMAND_EXIT = "exit"; const char* COMMAND_EX = "ex"; const char* COMMAND_HELP = "help"; const char* COMMAND_CD = "cd"; const char* COMMAND_IN = "<"; const...原创 2022-02-12 20:33:46 · 1042 阅读 · 1 评论 -
C语言 ubuntu中测试 模拟内存函数 malloc等
已传至github,可下载测试: https://github.com/frankRenlf/os.githttps://github.com/frankRenlf/os.git 在ubuntu的linux中运行测试成功,以下是部分代码 // void split(struct block *bestFit, size_t size) // { // struct block *new = (void *)((void *)bestFit + sizeof(struct ..原创 2022-02-12 19:01:58 · 288 阅读 · 1 评论