/* ISC license. */ #include #ifdef __stub_getrandom #error getrandom() appears to be a stub function, we won't use it. #endif #include int main (void) { char buf[4] ; if (getrandom(buf, 4, GRND_NONBLOCK) < 0) return 1 ; return 0 ; }