summary refs log tree commit diff
path: root/src/minutils/s6-fillurandompool.c
blob: 64216590d3366adcdca5de0e802a94026f790ea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* ISC license. */

#include <skalibs/strerr2.h>
#include <skalibs/random.h>

int main (void)
{
  char c ;
  PROG = "s6-fillurandompool" ;
  if (!random_init())
    strerr_diefu1sys(111, "initialize random generator") ;
  random_string(&c, 1) ;
  return 0 ;
}