OS202

Logo

View the Project on GitHub MDzkM/os202

« Back

Top 10 List of Week 06

  1. Difference between CR LF, LF and CR line break types?

    This might help you fix the error in your assignment.

  2. Xxd for beginners

    In conjunction with the previous point, you can use xxd to check the termination byte in your file.

  3. How to use wait() in C

    This thread helped me in finishing this week’s assignment. Using wait() to hold off the execution of a command.

  4. fork() in C

    You can use this command to dispatch a concurrent child process like the one in this week’s assignment. However these child processes are not run in parallel.

  5. Typedef vs define

    Generally typedef is used to give symbolic names to types whereas define is for values. More specifically they are executed on different levels. Typedef are executed by the compiler while define is executed by the pre-processor.

  6. C variadic functions

    I stumbled upon this feature as I was trying out the default way of passing arguments from CLI.

  7. Types of exec()

    There are different exec() commands such as execlp() and execvp() with differences in the arguments provided.

  8. Understanding fork() and exec()

    This thread gives a simple but in-depth explanation of both fork() and exec.

  9. CLI arguments in C

    The basics of reading and manipulating arguments given from CLI.

  10. Creating your own C header file

    By creating a separate header we can decontsruct our program to make it easier to read and understand.