2018 NUAA operating system practice assignment, author 161520311, welcome to refer to, fork, and point stars (◍°∇°◍)ノ゙
All code runs on Unix system, please do not play with it on Windows. It can run on MacOS personally, and Linux should be fine. Both Clang and Gcc environments are compiled and passed.
There are three large folders in the root directory, which are three types of questions: file reading and writing, multi-process, and multi-threading. There are many small folders in each large folder. A small folder corresponds to a question. Each question has a source code file with the same name as the folder and a compilation script. You only need to enter the folder of the specific question and run the compilation script I wrote to generate an executable file in .run format, and then enjoy ☺
For example myecho:
// 从项目根目录开始
cd 1-fileio
cd 1-myecho
./build.sh
./myecho.run
If the compiled script cannot be executed, try adding execution permissions to the compiled script:
chmod 777 buils.sh
List of operating system programming exercises given by Linuxmooc: Tasks - Linuxmooc