Date: 2023-06-22 08:57 (UTC)
fanf: (Default)
From: [personal profile] fanf

Whoops, thanks, I fixed the function name.

The seed function just conditions the raw seed values you pass in. You can call it with a structure literal, or like

    pcg_t pcg_entropy(void) {
        pcg_t rng;
        if (getentropy(&rng, sizeof(rng)) < 0)
            err(1, "getentropy");
        return (pcg_seed(rng));
    }
This account has disabled anonymous posting.
(will be screened if not on Access List)
(will be screened if not on Access List)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

June 2025

S M T W T F S
1234567
8 91011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2025-06-15 17:39
Powered by Dreamwidth Studios