File tree 2 files changed +8
-0
lines changed
src/unix/linux_like/linux/musl/b64
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -682,6 +682,10 @@ pub const TIOCM_RI: ::c_int = TIOCM_RNG;
682
682
683
683
extern "C" {
684
684
pub fn ioctl ( fd : :: c_int , request : :: c_int , ...) -> :: c_int ;
685
+ pub fn getcontext ( ucp : * mut ucontext_t ) -> :: c_int ;
686
+ pub fn setcontext ( ucp : * const ucontext_t ) -> :: c_int ;
687
+ pub fn makecontext ( ucp : * mut ucontext_t , func : extern "C" fn ( ) , argc : :: c_int , ...) ;
688
+ pub fn swapcontext ( uocp : * mut ucontext_t , ucp : * const ucontext_t ) -> :: c_int ;
685
689
}
686
690
687
691
cfg_if ! {
Original file line number Diff line number Diff line change @@ -950,6 +950,10 @@ pub const TIOCM_RI: ::c_int = TIOCM_RNG;
950
950
951
951
extern "C" {
952
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 ;
953
957
}
954
958
955
959
cfg_if ! {
You can’t perform that action at this time.
0 commit comments