DragonFly BSD
DragonFly commits List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/lib/libc/stdlib rand.3 rand.c

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 17 May 2004 00:35:56 -0700 (PDT)

dillon      2004/05/17 00:35:56 PDT

DragonFly src repository

  Modified files:
    lib/libc/stdlib      rand.3 rand.c 
  Bring in a better seeding and random number generation algorithm from
  FreeBSD for the (old) rand() API.  Add sranddev() to the library and clean
  up the manual page.  Note that we are currently using /dev/urandom to
  generate the seed to avoid boot-time blocking issues.
  Submitted-by: "William M. Grim" <wgrim@xxxxxxxx>
  Reviewed by: Joerg Sonnenberger and others
  Revision  Changes    Path
  1.3       +17 -4     src/lib/libc/stdlib/rand.3
  1.3       +78 -7     src/lib/libc/stdlib/rand.c


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]