mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:37:45 +00:00
Base: Write some initial man pages
It ain't much, but it's honest work!
This commit is contained in:
parent
36eea6c04b
commit
fed96f455d
8 changed files with 256 additions and 0 deletions
20
Base/usr/share/man/man2/mkdir.md
Normal file
20
Base/usr/share/man/man2/mkdir.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
## 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.
|
Loading…
Add table
Add a link
Reference in a new issue