Collin Funkcollinfunk@mastodon.social
Nov 12, 2026, 2:36 AM@wolf480pl @cks For 'mkdir -p', you generally don't check that the directory exists. You just create the directory, and try to enter it with chdir(2) or by opening a file descriptor (if you use a file descriptor, you'd use mkdirat(2) later to create the child relative to the parent that).