On Fri, 30 Apr 2021 11:15:21 -0600, "Theo de Raadt" wrote:
> I disagree.
>
> "dstsize" is conceptually easier for readers to understand.
>
> Secondly, there is nothing which says the library code has to match the
> manual page. Implementation does not need to match documentation.
My feelings
I disagree.
"dstsize" is conceptually easier for readers to understand.
Secondly, there is nothing which says the library code has to match the
manual page. Implementation does not need to match documentation.
Emil Engler wrote:
> Hello tech@,
> currently the man-page for strlcpy(3) and
Hello tech@,
currently the man-page for strlcpy(3) and strlcat(3) calls
the third argument for those functions "dstsize" whereas the
C source code calls it "dsize". This patch addresses this issue
by renaming it to "dsize" to keep coherency between the man-page
and the source code.
diff --git