[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: roadmap ?
- From: perryh_(_at_)_pluto_(_dot_)_rain_(_dot_)_com (Perry Hutchison)
- Date: Mon, 24 Dec 01 00:03:26 PST
- >received: by pluto.rain.com (4.1/SMI-4.1-pluto-M2011117) id AA02790; Mon, 24 Dec 01 00:03:26 PST
This feels like it might be an FAQ, but I couldn't find it there.
How do I find the source file which implements a given device?
Specifically, I'm looking for the code which implements the
/dev/srandom and /dev/urandom special files. There's a file
named srandom.c in sys/lib/libkern, but all it appears to do
is set _randseed. How do I find out where the real work is
being done (short of find ... -print | xargs grep ...)?