diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2024-05-17 22:19:26 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2024-05-17 22:19:26 +0000 |
commit | 4dcf9fa0521a1c4243c28fb2f657d8029317e55e (patch) | |
tree | 09c41d8de80eee9a637210c03b171a0c46ee526f /doc/libstddjb/envalloc.html | |
parent | bcb8e950789c173c387bea5c8a6906f9e26a8038 (diff) | |
download | skalibs-4dcf9fa0521a1c4243c28fb2f657d8029317e55e.tar.xz |
Fix some bits and pieces of the new doc
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/libstddjb/envalloc.html')
-rw-r--r-- | doc/libstddjb/envalloc.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/libstddjb/envalloc.html b/doc/libstddjb/envalloc.html index fcc2534..79cb214 100644 --- a/doc/libstddjb/envalloc.html +++ b/doc/libstddjb/envalloc.html @@ -5,7 +5,7 @@ <meta http-equiv="Content-Language" content="en" /> <title>skalibs: the envalloc header</title> <meta name="Description" content="skalibs: the envalloc header" /> - <meta name="Keywords" content="skalibs header envalloc environ environment char** stralloc dynamic heap" /> + <meta name="Keywords" content="skalibs header envalloc environ environment array stralloc dynamic heap" /> <!-- <link rel="stylesheet" type="text/css" href="//skarnet.org/default.css" /> --> </head> <body> @@ -36,7 +36,7 @@ header that lets one use <a href="stralloc.html">genallocs</a> of <h2> Functions </h2> <p> -<code>int envalloc_uniq (genalloc *v, char delim)</code><br /> +<code>int envalloc_uniq (genalloc *v, char delim)</code><br> Removes strings in the <em>v</em> that share the same prefix up to the first <em>delim</em> character. For instance, if delim is <tt>=</tt>, duplicate environment variables are removed. Returns the number of removed entries on @@ -44,7 +44,7 @@ success, -1 (and sets errno) on failure. </p> <p> -<code>int envalloc_0 (genalloc *v)</code><br /> +<code>int envalloc_0 (genalloc *v)</code><br> Appends a null pointer to <em>v</em>. Returns 1 on sucess, 0 (and sets errno) on failure. </p> |