ladybird/Base/usr/share/man/man2/mkdir.md
Sergey Bugaev 8fbcfa934a Base: Add some "See also" links to the man pages
We can do this now that we have link support in LibMarkdown and LibHTML ^)
2019-10-03 08:23:54 +02:00

412 B

Name

mkdir - create a directory

Synopsis

#include <sys/stat.h>

int mkdir(const char* path, mode_t mode);

Description

Create a new empty directory at the given path using the given mode.

Return value

If the directory was created successfully, mkdir() returns 0. Otherwise, it returns -1 and sets errno to describe the error.

See also