We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2926a5b commit f1d56f6Copy full SHA for f1d56f6
src/unix/bsd/apple/mod.rs
@@ -2350,6 +2350,7 @@ extern {
2350
pub fn mprotect(addr: *mut ::c_void, len: ::size_t, prot: ::c_int)
2351
-> ::c_int;
2352
pub fn shm_open(name: *const ::c_char, oflag: ::c_int, ...) -> ::c_int;
2353
+ pub fn ftok(pathname : *const c_char, proj_id : ::c_int) -> key_t;
2354
pub fn shmat(shmid: ::c_int, shmaddr: *const ::c_void,
2355
shmflg: ::c_int) -> *mut ::c_void;
2356
pub fn shmdt(shmaddr: *const ::c_void) -> ::c_int;
0 commit comments