about summary refs log tree commit diff
path: root/src/librandom/random_char.c
blob: f55443e6383132f95a6dfd4a28a4ea0fa72a8fa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/random.h>

unsigned char random_char (void)
{
  unsigned char c ;
  random_string((char *)&c, 1) ;
  return c ;
}