diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-16 22:08:24 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-16 22:08:24 +0200 |
| commit | 9ec46ba87daa4ede804b1cb0abd91b85caf6f910 (patch) | |
| tree | 6de728a336ed007b408f4d5f75a84551ac43cdbe /libar2_decode_params.3 | |
| parent | Add sanitizer options to config.mk (diff) | |
| download | libar2-9ec46ba87daa4ede804b1cb0abd91b85caf6f910.tar.gz libar2-9ec46ba87daa4ede804b1cb0abd91b85caf6f910.tar.bz2 libar2-9ec46ba87daa4ede804b1cb0abd91b85caf6f910.tar.xz | |
Man page fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | libar2_decode_params.3 | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libar2_decode_params.3 b/libar2_decode_params.3 index 9bb1427..d533e2a 100644 --- a/libar2_decode_params.3 +++ b/libar2_decode_params.3 @@ -40,8 +40,8 @@ struct libar2_context { void (*\fIdeallocate\fP)(void *\fIptr\fP, struct libar2_context *\fIctx\fP); }; -size_t libar2_decode_params(const char *\fIstr\fP, const struct libar2_argon2_parameters *\fIparams\fP, - char **\fIbuf\fP, struct libar2_context *\fIctx\fP); +size_t libar2_decode_params(const char *\fIstr\fP, struct libar2_argon2_parameters *\fIparams\fP, + char **\fIbufp\fP, struct libar2_context *\fIctx\fP); .fi .PP Link with @@ -98,7 +98,7 @@ once, and on failure if was called, .I *ctx->deallocate once. If -.I *ctx->allocatew +.I *ctx->allocate was called, but not .IR *ctx->deallocate , the memory allocated with @@ -109,8 +109,8 @@ and may be deallocated by the user with .I *ctx->deallocate once the result stored in .I params -is not longer needed. -See more information about +is no longer needed. +For more information about .I ctx->allocate and .IR ctx->deallocate , @@ -124,7 +124,7 @@ None of the arguments may be .PP Upon successful completion, if .I str -contains the a tag, +contains a tag, .IR &str[n] , where .I n @@ -136,7 +136,7 @@ The .BR libar2_decode_params () returns the number of bytes in .I str -that make up the decoded parameter, including +that make up the decoded parameters, including the final dollar-sign .RB ( $ ), but excluding the tag, if any, at the end of @@ -145,9 +145,9 @@ and stores the decoded parameters in .IR params , and potentially dynamically allocated data in .IR *bufp , -upon successful completion +upon successful completion. On error, 0 is returned (not a valid return -value on success completion) and +value on successful completion) and .I errno is set to describe the error. @@ -178,7 +178,7 @@ not modify .SH NOTES The encoded parameters will not be -validate by the +validated by the .BR libar2_decode_params () function beyond what is needed to ensure that the parameters can be accurately parsed and |
