
The URLs of the form `help://man/<section>/<page>` link to another help page inside the help application. All previous relative page links are replaced by this new form. This doesn't change any behavior but it looks much nicer :^) Note that man doesn't handle these new links, but the previous relative links didn't work either.
24 lines
414 B
Markdown
24 lines
414 B
Markdown
## Name
|
|
|
|
mkdir - create a directory
|
|
|
|
## Synopsis
|
|
|
|
```**c++
|
|
#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
|
|
|
|
* [`mkdir`(1)](help://man/1/mkdir)
|