Yes, that's what you're supposed to do, and it sucks. A good library should provide you with more than a box full of hammers and thumbs; it should actually help you and not just punt whenever a hard decision shows up. The RAND interface was one of the first things gutted.
The presence or need for a stir() function should be considered a serious design flaw.
(forks are detected by calling getpid() if you don't have inheritzero.)
The presence or need for a stir() function should be considered a serious design flaw.
(forks are detected by calling getpid() if you don't have inheritzero.)