random-word: Seed using gettimeofday
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sat, 13 Mar 2010 15:56:34 +0000 (07:56 -0800)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Sat, 13 Mar 2010 15:56:34 +0000 (07:56 -0800)
commit01865c491f871d5470013a28347c3e8733aab2ea
tree4f1a10f7d6bec0814c8194c3df228dd89bb57794
parent240305aa4d362226d0850a897fefba004cb113b0
random-word: Seed using gettimeofday

Seed using gettimeofday(2) rather than time(2).

Seeding with time(2) gave some humorous results because we could get the
same word back multiple times if the program was invoked multiple times
a second.
random-word.c