How To: Security-Oriented C Tutorial 0x0A - Man Pages

Security-Oriented C Tutorial 0x0A - Man Pages

Okay guys and gals, this will be a quick tutorial on using the incredibly helpful man pages.

What Are Man Pages?

Man pages are manuals for tools and functions which are provided for the *nix operating systems. These pages detail the syntax, usage and options for the queried function or tool and can be used by anyone in any situation, not just necessarily for C.

Using Man Pages

To obtain a man page for a certain function or tool, you can type the following command:

  • man [function or tool name here]

Here are two examples on the scanf function (found in stdio.h) and the wc tool we have used before.

Conclusion

Now that you know how to pull up man pages for functions, you will need to rely on this skill whenever I use a function that you have never seen before. This means that I will no longer explain what a function does if we have never encountered it. If you still don't know what the function does, try Googling it for an explanation or an example. After unsuccessfully attempting to find out what it does, only then should you ask someone or leave a comment down below.

dtm.

Just updated your iPhone? You'll find new emoji, enhanced security, podcast transcripts, Apple Cash virtual numbers, and other useful features. There are even new additions hidden within Safari. Find out what's new and changed on your iPhone with the iOS 17.4 update.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest