We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 40cfd1b + 8aa4c8c commit a460e7fCopy full SHA for a460e7f
src/unix/linux_like/linux/musl/b64/x86_64/mod.rs
@@ -950,6 +950,10 @@ pub const TIOCM_RI: ::c_int = TIOCM_RNG;
950
951
extern "C" {
952
pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::c_int;
953
+ pub fn getcontext(ucp: *mut ucontext_t) -> ::c_int;
954
+ pub fn setcontext(ucp: *const ucontext_t) -> ::c_int;
955
+ pub fn makecontext(ucp: *mut ucontext_t, func: extern "C" fn(), argc: ::c_int, ...);
956
+ pub fn swapcontext(uocp: *mut ucontext_t, ucp: *const ucontext_t) -> ::c_int;
957
}
958
959
cfg_if! {
0 commit comments