3 ms·
SIGSEGV Not a "failure" of the libc call per se and it terminates the caller app which, frankly, is the only safe thing to do. The Linux equivalent, while it
by acveilleux 12y ago
SIGSEGV
Not a "failure" of the libc call per se and it terminates the caller app which, frankly, is the only safe thing to do.
The Linux equivalent, while it can fail could be wrapped in a libc version that emulates arc4random behaviour (provide random or kill the app really.)