Re: srandomdev portability

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
On Tue, Nov 10, 2009 at 08:38:15AM -0600, Larson, Timothy E. wrote:
> Is there an idiom to use to work around the lack of this function in certain systems (like NetBSD), or is it best to supply an implementation to use in those cases?

What is this?
Usually, for function which might miss on some operating systems, the
program should provide a replacement function that is enabled by a
configure test.

(Of course, when packaging, sometimes we handle it with #ifdefs or
patches instead...)
 Thomas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.