Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Make A File Directory With mkdir() | C Programming Tutorial

12.4K views on YouTube

How to create a file directory using the mkdir() function in the POSIX library. Source code: https://github.com/portfoliocourses/c-example-code/blob/main/mkdir.c. Check out https://www.portfoliocourses.com to build a portfolio that will impress employers!

mkdir() documentation:
https://www.gnu.org/software/libc/manual/html_node/Creating-Directories.html

Microsoft Windows mkdir documentation:
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/mkdir?view=msvc-170
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/mkdir-wmkdir?view=msvc-170