mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
7 lines
219 B
C
7 lines
219 B
C
unsigned int targ;
|
|
if (getentropy(&targ, sizeof(targ)) == 0) {
|
|
printf("[%s] getentropy() yielded 0x%08x\n", where, targ);
|
|
} else {
|
|
printf("[%s] getentropy() failed with %d (%s)\n", where, errno, strerror(errno));
|
|
}
|