summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-10-02 22:39:45 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-10-03 08:23:54 +0200
commit8fbcfa934afaca709c8ffed3f972e7e0ffb62d0d (patch)
tree56430555ed1158b6c93dbc2b7893044d990a8a33
parent30437b09367b734d7464648a2ef4e1977274525b (diff)
downloadserenity-8fbcfa934afaca709c8ffed3f972e7e0ffb62d0d.zip
Base: Add some "See also" links to the man pages
We can do this now that we have link support in LibMarkdown and LibHTML ^)
-rw-r--r--Base/usr/share/man/man1/mkdir.md4
-rw-r--r--Base/usr/share/man/man2/create_shared_buffer.md4
-rw-r--r--Base/usr/share/man/man2/mkdir.md4
-rw-r--r--Base/usr/share/man/man2/share_buffer_with.md4
4 files changed, 16 insertions, 0 deletions
diff --git a/Base/usr/share/man/man1/mkdir.md b/Base/usr/share/man/man1/mkdir.md
index eef73cdaeb..5dc6bb31f1 100644
--- a/Base/usr/share/man/man1/mkdir.md
+++ b/Base/usr/share/man/man1/mkdir.md
@@ -17,3 +17,7 @@ Create a new empty directory at the given *path*.
```sh
$ mkdir /tmp/foo
```
+
+## See also
+
+* [`mkdir`(2)](../man2/mkdir.md)
diff --git a/Base/usr/share/man/man2/create_shared_buffer.md b/Base/usr/share/man/man2/create_shared_buffer.md
index 3396d67011..10fb26ca63 100644
--- a/Base/usr/share/man/man2/create_shared_buffer.md
+++ b/Base/usr/share/man/man2/create_shared_buffer.md
@@ -21,3 +21,7 @@ If a region is successfully created, `create_shared_buffer()` stores a pointer t
* `EINVAL`: `size` is zero or negative.
* `EFAULT`: `buffer` is not a valid address.
+
+## See also
+
+* [`share_buffer_with`(2)](share_buffer_with.md)
diff --git a/Base/usr/share/man/man2/mkdir.md b/Base/usr/share/man/man2/mkdir.md
index 6411ceac73..be483e6454 100644
--- a/Base/usr/share/man/man2/mkdir.md
+++ b/Base/usr/share/man/man2/mkdir.md
@@ -18,3 +18,7 @@ Create a new empty directory at the given *path* using the given *mode*.
If the directory was created successfully, `mkdir()` returns 0. Otherwise,
it returns -1 and sets `errno` to describe the error.
+
+## See also
+
+* [`mkdir`(1)](../man1/mkdir.md)
diff --git a/Base/usr/share/man/man2/share_buffer_with.md b/Base/usr/share/man/man2/share_buffer_with.md
index d8e2c8e664..48ee1d1f6f 100644
--- a/Base/usr/share/man/man2/share_buffer_with.md
+++ b/Base/usr/share/man/man2/share_buffer_with.md
@@ -22,3 +22,7 @@ On success, returns 0. Otherwise, returns -1 and `errno` is set.
* `EINVAL`: `peer_pid` is invalid, or `shared_buffer_id` is not a valid ID.
* `EPERM`: The calling process does not have access to the buffer with `shared_buffer_id`.
* `ESRCH`: No process with PID `peer_pid` is found.
+
+## See also
+
+* [`create_shared_buffer`(2)](create_shared_buffer.md)