1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 11:18:13 +00:00

Base: Fix Markdown formatting in links to man pages

A quick grep revealed these stats (counting only the first occurrence
per line):

    `thing`(1): 154
    `thing(1)`: 9
    thing(1): 4

This commit converts all occurrences to the `thing`(1) format.
This commit is contained in:
Ben Wiederhake 2021-09-11 14:06:29 +02:00 committed by Andreas Kling
parent 6fe82889fb
commit f2ba7ac935
4 changed files with 13 additions and 13 deletions

View file

@ -74,5 +74,5 @@ All other characters are treated normally.
## See Also
* [more(1)](more.md) For a simpler pager that less implements.
* [man(1)](man.md) For serenity's manual pager, that uses less.
* [`more`(1)](more.md) For a simpler pager that less implements.
* [`man`(1)](man.md) For serenity's manual pager, that uses less.

View file

@ -53,4 +53,4 @@ this man page should be located at `/usr/share/man/man1/man.md`.
## See Also
* [less(1)](less.md) For the terminal pager that `man` uses by default
* [`less`(1)](less.md) For the terminal pager that `man` uses by default

View file

@ -11,7 +11,7 @@ $ more
## Description
`more` reads data from standard input and prints it to standard output, screen by screen.
`more` is a symlink for [`less(1)`](less.md), which has a more emulation mode.
`more` is a symlink for [`less`(1)](less.md), which has a more emulation mode.
## Examples
@ -23,4 +23,4 @@ $ more
## See Also
* [less(1)](less.md) For the more advanced terminal pager that implements more.
* [`less`(1)](less.md) For the more advanced terminal pager that implements more.

View file

@ -20,7 +20,7 @@ Note that `pledge()` can be called repeatedly to remove previously-pledged promi
`promises` are applied to the current process, and will also be inherited by children created by [`fork`(2)](fork.md).
`execpromises` are applied if/when a new process image is created with [`exec(2)`](exec.md).
`execpromises` are applied if/when a new process image is created with [`exec`(2)](exec.md).
If `promises` or `execpromises` is null, the corresponding value is unchanged.
@ -35,26 +35,26 @@ If the process later attempts to use any system functionality it has previously
* `id`: Ability to change UID/GID
* `tty`: TTY related functionality
* `proc`: Process and scheduling related functionality
* `exec`: The [`exec(2)`](exec.md) syscall
* `exec`: The [`exec`(2)](exec.md) syscall
* `unix`: UNIX local domain sockets
* `inet`: IPv4 domain sockets
* `accept`: May use [`accept(2)`](accept.md) to accept incoming socket connections on already listening sockets (\*)
* `accept`: May use [`accept`(2)](accept.md) to accept incoming socket connections on already listening sockets (\*)
* `rpath`: "Read" filesystem access
* `wpath`: "Write" filesystem access
* `cpath`: "Create" filesystem access
* `dpath`: Creating new device files
* `chown`: Changing file owner/group
* `fattr`: Changing file attributes/permissions
* `chroot`: The [`chroot(2)`](chroot.md) syscall (\*)
* `video`: May use [`ioctl(2)`](ioctl.md) and [`mmap(2)`](mmap.md) on framebuffer video devices
* `chroot`: The [`chroot`(2)](chroot.md) syscall (\*)
* `video`: May use [`ioctl`(2)](ioctl.md) and [`mmap`(2)](mmap.md) on framebuffer video devices
* `settime`: Changing the system time and date
* `setkeymap`: Changing the system keyboard layout (\*)
* `sigaction`: Change signal handlers and dispositions (\*)
* `sendfd`: Send file descriptors over a local socket
* `recvfd`: Receive file descriptors over a local socket
* `ptrace`: The [`ptrace(2)`](ptrace.md) syscall (\*)
* `prot_exec`: [`mmap(2)`](mmap.md) and [`mprotect(2)`](mprotect.md) with `PROT_EXEC`
* `map_fixed`: [`mmap(2)`](mmap.md) with `MAP_FIXED` (\*)
* `ptrace`: The [`ptrace`(2)](ptrace.md) syscall (\*)
* `prot_exec`: [`mmap`(2)](mmap.md) and [`mprotect`(2)](mprotect.md) with `PROT_EXEC`
* `map_fixed`: [`mmap`(2)](mmap.md) with `MAP_FIXED` (\*)
Promises marked with an asterisk (\*) are SerenityOS specific extensions not supported by the original OpenBSD `pledge()`.