Skip to content

Commit

Permalink
README.md: link to the man pages
Browse files Browse the repository at this point in the history
  • Loading branch information
lukateras committed Dec 12, 2024
1 parent 478262b commit 6ff7866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ requires a [`getentropy(3)`][] shim.

## Usage

For details, consult `nanoid(3)` and `nanoidgen(1)` man pages.

### `nanoid(3)`
### [`nanoid(3)`](https://lukateras.github.io/nanoid.h/nanoid.3.html)

```c
#include <nanoid.h>
Expand All @@ -75,7 +73,7 @@ For details, consult `nanoid(3)` and `nanoidgen(1)` man pages.
[`calloc(3)`]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/calloc.html
[`getentropy(3)`]: https://pubs.opengroup.org/onlinepubs/9799919799/functions/getentropy.html

### `nanoidgen(1)`
### [`nanoidgen(1)`](https://lukateras.github.io/nanoid.h/nanoidgen.1.html)

```
nanoidgen [length]
Expand Down
4 changes: 2 additions & 2 deletions openbsd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ requires a [`getentropy(2)`][] shim.

For details, consult `nanoid(3)` and `nanoidgen(1)` man pages.

### `nanoid(3)`
### [`nanoid(3)`](https://lukateras.github.io/nanoid.h/openbsd/nanoid.3.html)

```c
#include <nanoid.h>
Expand All @@ -75,7 +75,7 @@ For details, consult `nanoid(3)` and `nanoidgen(1)` man pages.
[`calloc(3)`]: https://man.openbsd.org/calloc.3
[`getentropy(2)`]: https://man.openbsd.org/getentropy.2

### `nanoidgen(1)`
### [`nanoidgen(1)`](https://lukateras.github.io/nanoid.h/nanoidgen.1.html)

```
nanoidgen [length]
Expand Down

0 comments on commit 6ff7866

Please sign in to comment.