summary refs log tree commit diff
path: root/src/minutils/s6-fillurandompool.c
blob: e925e3b955b61756e612b8c37d3b4f4ea7d73268 (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)
{
  unsigned char c ;
  PROG = "s6-fillurandompool" ;
  if (!random_init())
    strerr_diefu1sys(111, "initialize random generator") ;
  random_string(&c, 1) ;
  return 0 ;
}