foxpy / qc

Quad C: Custom Cruel C Crate
MIT License
4 stars 0 forks source link

random library: no way to check if seeding function has succeded #13

Closed foxpy closed 3 years ago

foxpy commented 3 years ago

Various operating system random interfaces return error for a reason: they may fail. Currently, qc does not bother checking if there was a fail.

Fix: qc_rnd_init() should return error code.