Welcome to little lamb

Code » limb » commit 5fa15f2

doc: Minor fixes/tweaks

author Olivier Brunel
2023-03-23 18:46:12 UTC
committer Olivier Brunel
2023-03-23 18:46:12 UTC
parent 1cbee03c88f0641cdd49c5cb1b72bddb94942425

doc: Minor fixes/tweaks

doc/obuffer_put.3.md +1 -1
doc/out.3.md +1 -1
doc/out_putmsg.3.md +3 -3

diff --git a/doc/obuffer_put.3.md b/doc/obuffer_put.3.md
index ed460bc..164a6e1 100644
--- a/doc/obuffer_put.3.md
+++ b/doc/obuffer_put.3.md
@@ -32,5 +32,5 @@ on success. Otherwise, it returns 0.
 
 # ERRORS
 
-The `obuffer_putesc`() function may fail and set `errno` for any of the errors
+The `obuffer_put`() function may fail and set `errno` for any of the errors
 specified for [buffer_put](3).
diff --git a/doc/out.3.md b/doc/out.3.md
index 02b8f54..c456a12 100644
--- a/doc/out.3.md
+++ b/doc/out.3.md
@@ -73,7 +73,7 @@ more).
 Macros `quietdie`(), `outdie`(), `verbdie`(), `errdie`(), `errverbdie`(),
 `sysdie`() and `sysverbdie`() are similar to `quiet`(), `out`(), `verb`(),
 `err`(), `errverb`(), `sys`() and `sysverb`() respectively but will terminate
-the calling process (via [\_exit](3) using `e`).
+the calling process (via [\_exit](3) using `exit` as status code).
 
 ## Escaping
 
diff --git a/doc/out_putmsg.3.md b/doc/out_putmsg.3.md
index e77a405..237318c 100644
--- a/doc/out_putmsg.3.md
+++ b/doc/out_putmsg.3.md
@@ -26,11 +26,11 @@ void err_putmsgdie(int <em>exit</em>, u8 <em>level</em>, const char * const *<em
 # DESCRIPTION
 
 The `out_putmsg`() function will write the message, given as an array of
-strings `as` of `n` elements, into the output buffer for *stdout* - `obuffer_1`
-- as well as the extra output buffers.
+strings `as` of `n` elements, into the output buffer for *stdout* (`obuffer_1`)
+as well as the extra output buffers.
 
 The `err_putmsg`() function is similar, only with the output buffer for *stderr*
-- `obuffer_2` - instead of `obuffer_1`.
+(`obuffer_2`) instead of *stdout* (`obuffer_1`).
 
 The `dbg_putmsg`() function is similar to `out_putmsg`(), but prefixes the
 message with the given function name, file name and line number, resulting in a