File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/unix/linux_like/linux/musl/b64 Expand file tree Collapse file tree 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;
682682
683683extern "C" {
684684 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 ;
685689}
686690
687691cfg_if ! {
Original file line number Diff line number Diff line change @@ -950,6 +950,10 @@ pub const TIOCM_RI: ::c_int = TIOCM_RNG;
950950
951951extern "C" {
952952 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 ;
953957}
954958
955959cfg_if ! {
You can’t perform that action at this time.
0 commit comments