Re: Issue in man page random_r.3

Alejandro Colomar
2025-08-24T19:13:32Z

[-- Attachment #1: Type: text/plain, Size: 840 bytes --]

[CC += Carlos]

Hi Helge,

On Sun, Aug 24, 2025 at 02:48:49PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
>
> Issue 1: comma after B<initstate>(3) as in paragraph two up?
> Issue 2: The function prototype above do not mention I<state>?
>
> "The B<setstate_r>() function is like B<setstate>(3) except that it "
> "modifies the state in the object pointed to by I<buf>, rather than modifying "
> "the global state variable. I<state> must first have been initialized using "
> "B<initstate_r>() or be the result of a previous call of B<setstate_r>()."

I don't know. I've never used that API, so we'd need the help of an
implementor or a user to know what the page intended to say.
Thanks for the report!

Have a lovely night!
Alex

--
<https://www.alejandro-colomar.es/>