Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A very endearing trait of OpenBSD developers is that when they make a system facility, it has a great C API.

Can you beat "uint32_t arc4random(void); void arc4random_buf(void *buf, size_t nbytes); uint32_t arc4random_uniform(uint32_t upper_bound);" as a RNG API? (No. Add it, glibc.)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: