Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [darwin-dev] Future for read_random ?



Thanks a lot!

Allow a stupid question: I can do that from Kernel space?

Thanks

Alex

Am 25.07.2007 um 13:25 schrieb Finlay Dobbie:

On 25/07/07, Alexander v. Below <email@hidden> wrote:
Hello List,

in <sys/random.h>, read_random is bracketed with the dreaded
__APPLE_API_UNSTABLE

If I do not want to risk losing binary compatiblity, which call can I
use instead?

You open /dev/random and read from that instead. See man 4 random.

-- Finlay

_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >[darwin-dev] Future for read_random ? (From: "Alexander v. Below" <email@hidden>)
 >Re: [darwin-dev] Future for read_random ? (From: "Finlay Dobbie" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.