Re: Issue in man page random_r.3

Alejandro Colomar
2025-08-24T16:08:35Z

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

Hi Helge,

On Sun, Aug 24, 2025 at 02:48:49PM +0000, Helge Kreutzmann wrote:
> Without further ado, the following was found:
>
> Issue: comma after B<initstate>(3) as in previous paragraph?

Thanks! I've applied a fix.

Cheers,
Alex

>
> "The B<initstate_r>() function is like B<initstate>(3) except that it "
> "initializes the state in the object pointed to by I<buf>, rather than "
> "initializing the global state variable. Before calling this function, the "
> "I<buf.state> field must be initialized to NULL. The B<initstate_r>() "
> "function records a pointer to the I<statebuf> argument inside the structure "
> "pointed to by I<buf>. Thus, I<statebuf> should not be deallocated so long "
> "as I<buf> is still in use. (So, I<statebuf> should typically be allocated "
> "as a static variable, or allocated on the heap using B<malloc>(3) or "
> "similar.)"

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