Merge pull request #108 from mmcco/sc

Add getentropy(2)'s syscall number as a const
This commit is contained in:
Alex Crichton 2015-12-18 09:19:55 -08:00
commit 2c7e08c959

View File

@ -211,6 +211,9 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 2;
pub const HW_AVAILCPU: ::c_int = 25;
pub const KERN_PROC_ARGS: ::c_int = 55;
// syscall numbers
pub const NR_GETENTROPY: ::c_int = 7;
extern {
pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int)
-> ::c_int;